Maximize the total of movie ratings without skipping more than one movie in a row.
Unlock detailed company stats for this questionUpgrade
Given an array of movie ratings (ratings can be positive or negative), maximize the total rating collected with the constraint that you cannot skip more than one consecutive movie. This is a dynamic programming problem with a constraint.
Community answers
No answers contributed by the community yet.
Related courses

Course

Course
Course
