Domanda di colloquio di Airbnb

General algorithmic questions involving number sequences.