Why for input "3 1" there is only one path?


#1

As far as I understand there should be three different paths:
(0, 0) -> (0, 1) -> (1, 1) -> (2, 1) -> (3, 1)
(0, 0) -> (1, 0) -> (1, 1) -> (2, 1) -> (3, 1)
(0, 0) -> (1, 0) -> (2, 0) -> (2, 1) -> (3, 1)

Can someone explain this to me?
Thanks!


#2

for this input it means you have 3 rows and 1 column. so you only have cells (0,0),(1,0),(2,0) so u can only have one path which s going down