The price of correctness Unknown Tuesday, May 3, 2016 Add Comment Edit When implementing a database system we often have two contradicting goals: Performance and correctness. Being as fast as possible is very at... Read More
Selection Sort Unknown Add Comment Interviews, Sorting Edit Selection Sort Given a array of integers, Sort it. Lets understand what is the input and the expected output. Overview Sel... Read More
Insertion Sort Unknown Add Comment Interviews, Sorting Edit Insertion Sort Given a array of integers, Sort it. Lets understand what is the input and the expected output. Example Assume... Read More
Bubble Sort Unknown Add Comment Interviews, Sorting Edit Bubble Sort (Sinking sort) Given a array of integers, Sort it. Lets understand what is the input and the expected output. Alg... Read More
Diameter of Binary Tree. Unknown Tuesday, April 26, 2016 Add Comment Algorithm, Binary Search Tree, Binary Tree, Datastructure, Java Edit Find diameter of Binary Tree. What is Diameter of a Binary Tree? A longest path or route between any two nodes in a tree is called as ... Read More
Find Kth largest element in BST(Binary Search Tree) Unknown Add Comment Algorithm, Binary Search Tree, Binary Tree, Datastructure Edit Find Kth largest element in Binary Search Tree. Lets understand the problem statement correctly, What is the Input and the expected ou... Read More
Find Kth smallest element in BST(Binary Search Tree) Unknown Monday, April 25, 2016 Add Comment Algorithm, Binary Search Tree, Binary Tree, Datastructure Edit Find Kth smallest element in Binary Search Tree. Lets understand the problem statement correctly, What is the Input and the expected o... Read More
Check if number is Power of Two. Unknown Add Comment Bit Manipulation, Interviews, Java, Miscellaneous Edit C heck if number is power of 2 . Lets understand what is the input and the expected output. If the number given to you is, Case ... Read More
Print all interleavings of given 2 string. Unknown Add Comment Interviews, Strings Edit Print all interleaving of given 2 string . Lets understand what is the input and the expected output. Interleaved string contains... Read More