Airbnb Interview Question

General algorithmic questions involving number sequences.