Yeah, programming is frustrating. But you can't just add code without understanding the concepts and expect it to work. That's why I suggested drawing it out. If you draw out a linked list with...
Type: Posts; User: KevinWorkman
Yeah, programming is frustrating. But you can't just add code without understanding the concepts and expect it to work. That's why I suggested drawing it out. If you draw out a linked list with...
If you've drawn it out and understand how nodes and links work, why do you think you still need an index?
The best advice I can give you is to draw out a ton of pictures showing how the data structure works. Each node (draw a circle) contains a value (write the value inside the circle) and points to some...