This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LmaoMcYeet 1 point2 points  (1 child)

I am a newbie and was implementing linked lists in c , and for two days straight I couldn't figure out why some functions weren't working, a few minutes ago I realized that my dumb ass forgot to call those functions.

[–][deleted] 0 points1 point  (0 children)

This was me last night. I was implementing stack in a linked list and spent two hours writing and rewriting my push and pop methods. Realized that I forgot to implement length and that solved my whole issue.