While singly-linked lists have many uses, they also present some restrictions. For one thing, singly-linked lists restrict node traversal to a single direction: you can’t traverse a singly-linked list ...
I ran into a bit of a roadblock trying to code a program to perform simple matrix operations. The catch was that I wanted to be able to let the user specify the dimension of the matrices on the fly.