Flatten a Nested List

Company: ENTNT

Difficulty: medium