Blog

Mobx style observers

A very basic MobX style Observer

— Fri Feb 03 2017

Coding underscore get

We often use _.get() function to safely retreive the properties inside deeply nested objects. I have seen codebases where underscore was put in just because of this great utility function. So just thought of coding it and turns out its pretty easy and fun.

— Mon Jan 30 2017

How to build pastebins like jsbin, jsfiddle, dabblet

I have always wondered how awesome tools like jsbin, jsfiddle or dabblet work. So, thought of putting together some code to do the same.

— Sun Nov 27 2016

Building and walking a binary search tree

In this post we will see how to create a binary search tree from scratch and walk through it. Binary search tree are an important data structure as they allow fast lookup, addition and removal of items and reduces the time complexity to O(logn).

— Tue Oct 18 2016