Robinhood interview question

Something about 2 dimensions array