Snowflake interview question

Write a container class in C++ that contains arbitrarily nested lists, with an iterator.