Random Wits

Life is too short for a diary

Projects

$ latest projects
     ├── encrypted-files
├── binary-semaphore
├── AES
└── DES
view all

Random

$ random stuff
├── my bookshelf
    ├── resources
    └── quotes
    └── about me
say Hello

Back to Top


Tue 08 Jan 2019

Merge Two Sorted Lists

Merge two sorted linked lists and return it as a new list.1. The new list should be made by splicing together the nodes of the first two lists.

It’s an easy problem in Leetcode for practicing linked list. It’s similar to the merge step of the Merge sort. ..

Continue reading → Tags : programming leetcode code


Thu 20 Dec 2018

Decoding ndtv darwin's theory debate

I wanted to decode an old debate 1 that I saw on ndtv. It was about a controversy erupted by the comments of a junior Indian education minister, Satyapal Singh. He is India's Minister of State for Human Resource Development. He had claimed that evolution is "scientifically wrong" because he never "saw an ape turning into human being".

How does he claim evolution is “scientifically wrong”? Does the said minister have a degree in biology or have published a paper that can be peer reviewed? On the contrary, he had a career of Police Commisioner of Mumbai...

Continue reading → Tags : pseudoscience evolution india ndtv news debate


Tue 13 Nov 2018

Three Sum Problem

Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.1

..

Continue reading → Tags : programming leetcode code