CBSE Class 12 Computer Science Question 40 of 68

Data Structures - I : Linear Lists — Question 12

Back to all questions
12
Question

Question 12

What is a two dimensional list ? How is it related to nested lists ?

Answer

A two dimensional list is a list having all its elements as lists of same shapes, i.e., a two dimensional list is a list of lists. A two dimensional list is also a nested list, as it involves nesting one list inside another.