increasing entropy of the universe



Posts Tagged “code”

Sat 07 Sep 2019

Recursively sort a array

I recently came across a simple telephonic interview problem. The problem was to sort an array recursively. But even numbers need to be placed before odd numbers. At first glance it was obvious that it was a simple case of implementation of merge sort...


Continue reading → programming interview merge sort sort java code



Tue 08 Jan 2019

Merge Two Sorted Lists

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


Continue reading → programming leetcode code



Sun 04 May 2014

Digging on the codes of the Past

Different religion tells us about plethora of beautiful tales about the genesis of humans. We humans, like any other trivial species, descended not from heaven (sigh!) but due to mitosis in single cell organisms...


Continue reading → code cryptography cipher monoalphabetic



Fri 18 Oct 2013

How ViM Saved My Day

It was just another day in Gurgaon. The hot scorching sun was parading the city. The inescapable life of riding with the autowalas is the common sight of this concrete jungle. Though I am a FOSS enthusiast, my first job landed me to just another India’s IT company. I vividly remember the countless occasions when ViM saved my day...


Continue reading → vi vim editor code



Tue 10 Sep 2013

Why hacking is good

Once a friend of mine asked if I could Hack. I asked him what he meant by hacking. Bemused at such a lame question he replied, “Don’t you know what hacking is?”. On insisting he reluctantly explained, “breaking into website or stealing passwords of Facebook, etc”. I was crestfallen at the rampant misconception about hacking...


Continue reading → hacking hackers code