Open Source For Geeks
Tuesday, 24 December 2013

Finding Height of a binary tree

›
Question :   To find height of any binary tree Code : public class TreeHeightFinder {     public static int findHeight(Node root)...
Monday, 23 December 2013

Replace the data of each node by the sum of data of all its descendent nodes

›
Question : Given a Binary Tree, replace the data of each node by the sum of data of all its descendent nodes.(Leaf nodes will have 0) ...
2 comments:
Sunday, 22 December 2013

River Crossing Problem

›
Question 1 Four people need to cross a rickety bridge at night. Unfortunately, they have only one torch and the bridge is too dangerou...

Piece of Cake

›
Question How would you cut a rectangular cake into two equal pieces when a rectangular piece has already been cut out of it? The cut pi...
Friday, 20 December 2013

Android operating System Overview and Activity Life cycle

›
Before getting started with Android development there are some basic prerequisites that you should be aware of Object-oriented progra...
‹
›
Home
View web version
Powered by Blogger.