Flatten a Nested List
Interview insights are lockedSee how often this is asked and which companies asked it with Buncho Pro.Flatten an arbitrarily nested list such as [1, [2, [3, 4]], 5].
Hints
Related questions
Found a mistake in this question?
Flatten an arbitrarily nested list such as [1, [2, [3, 4]], 5].
Found a mistake in this question?
Locked until you attempt this problem
Log in and submit an answer to get personalised AI feedback.