March 12, 2018
Is This a Binary Search Tree? This problem can be solved in HackerRank. Condition No duplicate in the tree. Solution First, we know the…
Read MoreMarch 11, 2018
Problem description The problem is the following Given an array of integers, find and print the unique element. For example, [1] should…
Read MoreMarch 10, 2018
If you have an array and you want to shuffle it, how would you implement this? O(n2) The first algorithm is a simple brute force algorithm…
Read MoreMarch 09, 2018
If a Linked List is given as 1 → 2 → 3, it should reverse the list like 3 → 2 → 1. You can solve through HackerRank. https://www.hackerrank…
Read MoreFebruary 18, 2018
Although this method only works in NBViewer, NBViewer is so much faster than GitHub rendering engine and it should be the standard way of…
Read More