When one index is the whole state
A problem walks an array left to right and at each element makes one decision.
What makes a single index a sufficient state?
A problem walks an array left to right and at each element makes one decision.
What makes a single index a sufficient state?