When implementing a database system we often have two contradicting goals: Performance and correctness. Being as fast as possible is very at...
Read More
Home » Archive for 2016
Selection Sort
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
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
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)
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.
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.
Print all interleaving of given 2 string . Lets understand what is the input and the expected output. Interleaved string contains...
Read More
Subscribe to:
Posts (Atom)