Coding Problem 1 (1D Dynamic Programming)
Problem Statement
You are given a sequence/string/array (as specified by the interviewer). Solve an optimization or counting task using 1D dynamic programming.
The original post does not in...
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
