Tags

Grid DP

Grid DP

0 lessons
4 problems
1 question bank
3 community items

grid-dp

Practice Problems

4 problems

Minimum Path Sum

Not Started
Medium

Given an m x n grid filled with non-negative numbers, find a path from the top-left to the bottom-right that minimizes the sum of all numbers along the path.

Dynamic Programming
Tabulation
Grid DP
Matrix Algorithms
Algorithms
Intermediate

841

24

Triangle

Not Started
Medium

Given a triangle array, return the minimum path sum from top to bottom, where at each step you may move to an adjacent number on the row below.

Dynamic Programming
Tabulation
Grid DP
Algorithms
Intermediate

1k

14

Unique Paths II

Not Started
Medium

Given an m x n grid with obstacles, count the number of unique paths from the top-left corner to the bottom-right corner, moving only right or down.

Dynamic Programming
Tabulation
Grid DP
Matrix Algorithms
Algorithms
Intermediate

998

27

Unique Paths

Free
Not Started
Medium

Given an m x n grid, find the number of unique paths from the top-left corner to the bottom-right corner, moving only right or down.

Dynamic Programming
Tabulation
Grid DP
Algorithms
Intermediate

824

22