vinodjayachandran's Interview with Yahoo
0of 0 votesSwap alternate nodes in a Singly linked List
0of 0 votesGiven a Tree (not binary Tree), print only leaf nodes with it's path from Root
0of 0 votesGiven 2 Tree, find out if they r exactly same or not
0of 0 votesHow to find the depth of a tree.
Time and Memory optimization is emphasized
0of 0 votesGiven a graph of price variation of a stock over a period of 12 months, return the ideal time to buy and sell, for maximization of profit. Time duration is not constraint. Time duration needn't be minimum it can even be maximum 12 motnhs
0of 0 votesGiven a sequence of charecters , print consequtive sequence of charecters alone in a line, other wise print it in a new line.
eg: ABCXYZACCD
o/p :
ABC
XYZ
A
C
CD
