[algogeeks] Re: program for evaluation of remainders

2010-12-10 Thread haxxpop
@Dave Because he wants to optimize it if we can get the boundary of running time, we'll get the faster algorithm haxxpop -- 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

[algogeeks] Re: program for evaluation of remainders

2010-12-09 Thread haxxpop
997 is a prime number, so the calculation must be (1!+2!+...+996!) mod 997 -- 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 to

[algogeeks] Re: program for evaluation of remainders

2010-12-09 Thread haxxpop
@Dave I like this. use mem just O(1) , my algo use O(N). Thxx haxxpop -- 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 to algogeeks

Re: [algogeeks] Re: program for evaluation of remainders

2010-12-09 Thread haxxpop
@jai gupta why is this work?? I think it just calculates (N+1)! %n haxxpop -- 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] Re: k nearest points

2010-12-08 Thread haxxpop
I like Your algorithm; it's the same as I think. -- 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 to