Hey Buddy,
   NxM grid means that n is the no. of horizontal line and M is the no. of vertical lines.
   for a single line n=1 and m=0 so formula is C(1,0)...this gives the output 1.

 
On 4/6/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:

I am wondering how you get the formula.

If you have n = 1 and m = 2 which is a single line with 2 points, there
should be 1 path between the two node. But your formula gives 3.

Lei



By the way...the First thing is ur KISS :-)


Prashant Bhargava-- www.excogitation.tk
                          or
www.hemantdesign.com/prashant
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to