The Wayback Machine - https://web.archive.org/web/20201030143544/https://leetcode.com/problems/build-an-array-with-stack-operations/