Re: [algogeeks] Precedence or Associativity

2012-06-17 Thread rahul venkat
yea it s short circuiting -- 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] amazon qn

2012-05-21 Thread rahul venkat
* given a number and its permutation, how can we find out the number of transformations by which the number could be transformed into its permutation ?* * * *eg: 2315 and 5213 are given. 2315 can be transformed into 5213 in a series of 2 transformations. first swap 2 and 3. then swap 3 and 5.* * *

[algogeeks] amazon

2012-05-21 Thread rahul venkat
Given a string. Tell its rank among all its permutations sorted lexicographically. -- 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] finding duplicate set of paranthesis

2011-12-10 Thread rahul venkat
hi everyone, can u suggest an algorithm for finding the duplicate paranthesis in a given expression ? for example , the expression (( a + b ) * (( c + d ))) has a set of duplicate paranthesis. thanks in advance . -- You received this message because you are subscribed to the Google Groups