[algogeeks] Re: can any body help me in writing a C program find the reverse any given matrix

2006-05-16 Thread shishir
det(A) ! = 0 , for inverse to exist. --~--~-~--~~~---~--~~ 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

[algogeeks] Re: To get length K sub-sequence strings fast?

2006-05-16 Thread Kevin
Hi Gene, Can you add some explanation to the code? Thanks a lot. :-) --~--~-~--~~~---~--~~ 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

[algogeeks] Re: To get length K sub-sequence strings fast?

2006-05-16 Thread hessam
There is a problem with that algorithm. It may print the same string more than once: e.g. for input abb and K = 2, it will print: ab ab I recommend storing the strings in a trie. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[algogeeks] Re: can any body help me in writing a C program find the reverse any given matrix

2006-05-16 Thread Hei Makaroni
Yes, my bad. The determinant must be different from 0 if the inverse exists. --~--~-~--~~~---~--~~ 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

[algogeeks] Re: To get length K sub-sequence strings fast?

2006-05-16 Thread adak
Oddly enough, the links on the right hand side of this page have a very interesting bit-packing way of doing this. The link is: http://www-igm.univ-mlv.fr/~lecroq/string/node6.html It includes a truth table and a java applet visualization, along with a program in 'C'. The program example