[algogeeks] Re: [brain teaser] Sequence Puzzle 13april

2011-04-13 Thread AKS
@Akash : how , can u explain a bit more clearly ?? On Apr 13, 3:27 pm, Akash Agrawal akash.agrawa...@gmail.com wrote: next row: 3 1 2 2 1 1 just read the previous row: THREE 1 TWO 2 ONE 1 Regards, Akash Agrawalhttp://tech-queries.blogspot.com/ On Wed, Apr 13, 2011 at 3:27 PM, vaibhav

[algogeeks] Re: algo for mirror a tree

2011-03-11 Thread AKS
can u elaborate a bit ?? with sm example if possible On Mar 11, 4:52 am, priyank desai priyankd...@gmail.com wrote: Do a post order traversal of the tree and swap its child instead of printing the node values. On Mar 10, 8:19 am, Subhransupanigrahi subhransu.panigr...@gmail.com wrote:

[algogeeks] Re: Adobe Interview Question

2011-01-12 Thread AKS
can someone just expain the plain simple logic used to solve this problem ?? Cdn't get it seeing the code On Jan 11, 10:08 pm, Jammy xujiayiy...@gmail.com wrote: There are apparently more than one way to make the cuts(totally it'll still be three). The code only outputs first possible. On Jan

[algogeeks] Algo to find all the possible subsets in a set

2009-08-26 Thread AKS
Hello fellas, i am lookin for an algorithm to find all the possible subsets in a given set So, if the Set is say, A={a,b,c} omit the null set o/p: --- {a} {b} {c} {a,b} {b,c} {a,c} {a,b,c} omit the null set regards, Abhijeet --~--~-~--~~~---~--~~ You

[algogeeks] puzzle any answers

2009-07-01 Thread AKS
Three beauty pageant finalists-Cindy, Amy and Linda-The winner was musician. The one who was not last or first was a math major. The one who came in third had black hair. Linda had red hair. Amy had no musical abilities. Who was first? (A) Cindy (B) Amy (C) Linda (D) None of these