Some values of an array are unknown. Count the ways to fill them with 1–200 so that no element is bigger than both of its neighbours.
Some values of an array are unknown. Count the ways to fill them with 1–200 so that no element is bigger than both of its neighbours.
The discussion opens with the full question.