Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
C for Game Dev - Part 1
·
Module 8
Advanced Data Structures: Linked Lists
1
Linked List Node: Self-Referential Structs
Define a self-referential struct for a linked list node.
2
Inserting Nodes in a Linked List
Implement functions to insert a new node at the head, tail, or in a sorted position within a list.
3
Searching and Deleting Nodes in a Singly Linked List
Implement functions to search for and delete a node from a singly linked list.
4
Modifying Linked List Head with Double Pointers
Use a double pointer (char**) to write a function that modifies the head pointer of a list directly.
5
Linked List Deallocation
Traverse a linked list and safely deallocate all of its nodes.
6
Dynamic Inventory Refactoring: Array to Linked List
Refactor the dynamic inventory from a dynamic array to a linked list, and justify the choice.
Previous module
Dynamic Memory & Memory Safety
Next module
Build Systems & Multi-File Projects