LeetCode

Stamping The Sequence

Click here for an explanation.