A code repository for an undergraduate course in 'Data Structures'
This repository contains a Python implementation of various common data structures, taught as part of a Data Structures course at the undergraduate level.
The following is a list of data structures available in this repository:
- Stacks
- Stack (Array-based)
Two Stacks in a single arrayStack using two Queues- Linked Stack
- Queues
- Queue (Array-based)
Queue using two StacksLinked QueueDeque (Double-Ended Queue)Circular Queue (Array-based)Linked Priority QueueMax Heap (Array-based)
- Linked Lists
Linked List using Arrays- Singly Linked List
Doubly Linked ListCircular Doubly Linked ListSelf-Organizing ListSkip List
- Trees
- Binary Search Tree
AVL TreeRed-Black TreeThreaded Binary Tree
- Others
Static ArraylistDynamic ArraylistDisjoint SetStatic Hash TableDynamic Hash TableHash Set
Contributing
You are most welcome to contribute more data structures! Please read our Contribution Guidelines first to get started.