Longest Ideal Subsequence
A Medium coding interview problem in the 2-D Dynamic Programming pattern.
MediumPractise in Recode
Likely pattern
State over two indices: grids, two strings, or item and capacity.
Recognition cue: Compare two sequences, walk a grid, or choose items under a budget.
- Learn first
- Do not confuse it with
Topics
- Hash Table
- String
- Dynamic Programming
Practise 2-D Dynamic Programming next
- 1Medium
- 2Medium
- 3Medium
- 4Medium
- 5Medium
- 6Medium
- 7Medium
- 8Medium