Uber interview question

Flatten an integer list of nested lists