Skip to content

Latest commit

 

History

History

paths-in-the-grid

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

You have a grid with m rows and n columns.
Return number of ways that you can start from point A to reach point B.
you are only allowed to move right and up.

In the picture, there are 10 paths from A to B.


Hint: Use mathematical permutation and combination