[algogeeks] Algo

2011-10-07 Thread Deepak arora
Please tell the algo of this problem hasPathSum() We'll define a root-to-leaf path to be a sequence of nodes in a tree starting with the root node and proceeding downward to a leaf (a node with no children). We'll say that an empty tree contains no root-to-leaf paths. So for example, the

[algogeeks] Re: Algo

2011-10-07 Thread Deepak arora
we find sum of all path... like- path 1: 5 4 11 7=27 path 2: 5 4 11 2=22 path 3: 5 8 13=26 path 4: 5 8 4 1 =18 -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from

[algogeeks] Re: Algo

2011-10-07 Thread Deepak arora
thanks tpawan10 -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit

[algogeeks] Re: My symantec interview experiences

2011-10-04 Thread Deepak arora
Thanks. and congress... -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more

[algogeeks] Reduce Time Complexity of BST

2011-10-04 Thread Deepak arora
i have a tree . i will do search is it BST or not if yes then Can we reduce time complexity of BST... http://www.geeksforgeeks.org/archives/3042 -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to