Looking for Free C Programming Resources for Data Structures and Algorithms
Asked by
cue+cards
Hey everyone! I'm currently an engineering student tackling Data Structures and Algorithms (DSA) using C this semester. I've got a good grip on the basics of C like if/else statements, loops, and functions, but now things are getting a bit more intense with pointers, linked lists, trees, recursion, sorting, and the like. I'm on the hunt for some high-quality video lectures that present these DSA concepts clearly and practically. Free resources would be awesome! Any suggestions?
Answers
Check out "Data Structures Using C" by Reema Thareja; itโs a solid book for beginner to intermediate levels. Also, "Algorithms in C" by Robert Sedgewick is another great read!
Reply to this answer
If you're searching for practical resources, check out GitHub. Thereโs a repository called TheAlgorithms that has C implementations for various algorithms. Itโs helpful to follow a structured course alongside it for better understanding!
honeycomb pattern: Iโm a bit new to GitHub; could you send me the direct link to the lectures?
Reply to this answer
You might want to look at how DSA is generally taught. Often, the theory comes from textbooks explaining concepts, while programming implementations vary. A great starting point is to check out MIT OpenCourseWare for lectures on DSA. They usually explain concepts well, and then you can implement them in C, like defining a linked list with structs. Hereโs a quick example:
```
struct node {
int value;
struct node *next;
};
```
Once you grasp the theory, you can write your own implementations in C!
maritime museum fan: So, the lectures are mostly theoretical but not hands-on coding, right?
Reply to this answer
Just to give you an idea, this is what I'm covering this semester: Arrays, Linked Lists (singly, doubly, circular), Stacks & Queues (with both arrays & linked lists), Recursion, Trees (binary, BST and their traversals), Graphs (basic BFS and DFS), various sorting algorithms (like bubble, selection, insertion, merge, quick, heap), searching techniques (linear and binary), basics of hashing, and time & space complexity (Big O). Itโs pretty comprehensive! Let me know if you want resources for any specific topics.
Reply to this answer
Add your answer
Answers are reviewed before publication.
lantern.wick.trim: Are any of these available on YouTube?