Re: [algogeeks] Valid permutation of the brackets

2010-06-03 Thread Anil Kishore
to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Anil Kishore

Re: [algogeeks]

2010-03-31 Thread Anil Kishore
...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Anil Kishore -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send

Re: [algogeeks] first K digit

2010-03-05 Thread Anil Kishore
to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Anil Kishore -- You received this message

Re: [algogeeks] missing integers in an unsorted array

2010-02-01 Thread Anil Kishore
...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Anil Kishore -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe

Re: [algogeeks] gcd sum function

2010-01-26 Thread Anil Kishore
this group at http://groups.google.com/group/algogeeks?hl=en. -- Anil Kishore -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email

Re: [algogeeks] Dijkstra For Longest Path?

2010-01-14 Thread Anil Kishore
No. The normal Dijkstra's cannot be modified to work for longest path, as you can see the optimal subproblem problem is not satisfied. While the Dijkstra's shortest path can be computed in polynomial time, the longest path cannot be ( NP complete ). I'm sure there are lot of resources on net. May

Re: [algogeeks] Dijkstra For Longest Path?

2010-01-14 Thread Anil Kishore
If you negate the values, then it will loop on forever in a cycle, as adding more negative values *seems* to give shorter path. 2010/1/15 chitta koushik koushik.infin...@gmail.com How abt negating values and using same single source shortest path algo ? 2010/1/15 saltycookie