Hi i would like to know how i can navigate through a 2D doubly linked list.
i have created a linked list of a linked list which are contained in classes Row and Columna
Row
list <char> X
Column
list <Row> Y;
List X contains
a b c d e f g h i j k
Column Contains
rows of list x
output at the end is as follows. Each row may contain varied length.
1 a b c d e f g h i j
2 k l m n o p q r s t a b c d e
3 u v w k y z
i would like to know how to navigate somewhere like 2, P, and do some tests from that point.
Could someone shed some light on this, to get me in the right direction.