...

/

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 ...