This repository contains my implementations of various data structures in C, as part of my university course. It's a work in progress, and I'll be adding new structures and refining existing ones as I learn more.
This section contains introductory exercises to refresh basic C programming concepts.
ascii_table.c: A simple program to print the ASCII table.exercicios_aula1.c: A collection of exercises from the first class. // Note that this file is in portuguese and I am too lazy to translate. It is not important though, as it's not a Data Structure.
This section focuses on file manipulation and pointers.
archives.c: Exercises involving file I/O operations.arraysorting.c: A program that sorts an array, demonstrating pointer usage.file.txt: A sample text file for the file I/O exercises.
This section introduces dynamic memory allocation.
memory_allocation.c: Exercises demonstrating the use ofmallocandfree.
This section contains an implementation of a dynamic array (ArrayList).
arraylist.c/arraylist.h: The source code and header for the ArrayList implementation.
This section contains an implementation of a linked list.
linked_list.c/linked_list.h: The source code and header for the Linked List implementation.
This section contains implementations of a circular list and a sorted list.
circular-list/: An implementation of a circular list (circular_list.c,circular_list.h).sorted-list/: An implementation of a sorted list (sorted_list.c,sorted_list.h).
This section contains an implementation of a doubly linked list.
dll.c/dll.h: The source code and header for the Doubly Linked List implementation.
This section contains different implementations of a Queue data structure.
array-based-queue/: An implementation of a queue using a dynamic array (abq.c,abq.h).linked-list-based-queue/: An implementation of a queue using a singly linked list (ll_queue.c,llq.h).double-link-list-based-queue/: An implementation of a queue using a doubly linked list (dll_queue.c,dllq.h).
I plan to implement the following data structures:
- Stacks
- Trees (Binary, AVL, etc.)
- Hash Tables
- Graphs
... and more!