Here's the thing, this is the concept that made me drop CSC148 in the fall. Linked lists, at the time, were a hard concept for me to grasp. I didn't understand how the worked because I feel like last semester, they didn't build upon recursive thinking properly.
Now that I have a better grasp of recursive thinking, Linked Lists are a little clearer to me. Of course, I'll have to study them pretty hard to do well on the final but I get the basic understanding now.
A linked list is a simple concept of a set of nodes that together make a "list". Of course, it's not a list in the sense that python recognises a list. Rather, a linked list has a first node, then the next node, which is a list. This occurs recursively, making it easy to access the first and last nodes of the list and making a more tree like data structure for programmers to use. The insertion and deletion of nodes is also made simple with a linked list.
No comments:
Post a Comment