Domanda di colloquio di Airbnb

Array manipulation, dynamic programming, and reduce time complexity