...

/

Flatten Nested List Iterator

Flatten Nested List Iterator

Try to solve the Flatten Nested List Iterator problem.

Statement

You’re given a nested list of integers. Each element is either an integer or a list whose elements may also be integers or other integer lists. Your task is to implement an iterator to flatten the nested list.

You will have to implement the ...

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy