This repository contains homework assignments and exercises from the Data Structure course offered by the Department of Computer Science and Information Engineering at National Cheng Kung University (NCKU).
The course focuses on both theoretical and practical understanding of essential data structures, including:
-
Linear Data Structures
- Arrays, Linked Lists, Stacks, Queues
-
Trees
- Binary Trees, Binary Search Trees (BST)
- Heap and Heap Sort
- AVL Trees and balanced structures
-
Graphs
- Adjacency Matrix & List representations
- Depth-First Search (DFS), Breadth-First Search (BFS)
- Minimum Spanning Tree (Prim’s, Kruskal’s)
- Shortest Path (Dijkstra’s)
-
Hashing and Searching Techniques
- Hash tables and collision handling
- Binary and linear search algorithms
-
Memory Management and Recursion
- Pointer manipulation and dynamic memory allocation
- Recursive implementation of algorithms
NCKU-Data_Structure/
│
├── EXERCISE/ # Practice exercises on data structure basics
├── HW1/ # Homework 1: Data structure implementation
├── HW2/ # Homework 2: Tree and graph traversal
└── README.md # Course overview and description
Each directory contains .c source code files and Makefiles, demonstrating implementations and testing routines.