← Amazon questionsPrint elements from a list of lists
Filed under Amazon
Given a nested list of integers (e.g., [1, [2, 3], [[4], 5]]), implement an iterator or a function to print all elements in sequential order.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.
Collected from public candidate posts and coding forums. Updated Nov 2026.