Wipro interview question

Nested list program was asked