I am trying to implement 2-D Linked Lists using classes
My program works fine for 1-D Linked List but I am having trouble understanding the syntax for using 2-D Linked Lists.
In this case, it isn't actually a 2D list - it is a list of lists. If each sub-list in the main list has the same length, you can imagine it as a 2D list, but it is still a list of lists. Sometimes this is called a ragged array, if you're familiar with that.
I'm familar with the concepts of 2-D list, but the trouble I am having is understanding the syntax of using the member functions to fill up and modify the 2-D List