Problem Description

Task: grid has 0 (free) and 1 (blocked). Return number of paths from (0,0) to (m-1,n-1) moving right/down.

Input Format

Java method

Output Format

Return value

Constraints

Use DP; return 0 if start blocked.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next