Frage im Vorstellungsgespräch bei Robinhood

Four algorithm problems that can be found on Leetcode discussion.