Note :
main.cpp in this repo use an include file that needs to be compiled manually so
If you will use the main.cpp included in the repo so Use the command below to compile and run
you must compile the code in terminal manually to work
# to compile the file
$ g++ main.cpp -o main -D FILENAME # FILENAME is the file (specific data sturcture from include.h file) you want to use
# to run
$ ./main.exe
- All of these Data Structures were built using Templates
- Functions in README are the basic functions only
You can have a look to my Algorithms also
- Vector
- Singly LinkedList
- Doubly LinkedList
- Sparse Array Using LinkedList
- Sparse Matrix Using LinkedList
- Sparse Cube Using LinkedList
- Stack Array Based
- Stack LinkedList Based
- Circular Queue
- Queue LinkedList Based
- Deque
- Binary Tree
- Binary Search Tree ( Binary Node )
- Binary Search Tree
- Min Binary Heap
- Max Binary Heap
- AVL Tree ( Binary Node )
- AVL Tree
- Priority Queue Heap Based
- Priority Queue AVL Tree Based
- Trie Tree ( Letter )
- Hash Table
-
- Push Back
- Insert
- Pop
- Rotate (Left - Right)
- Find
- Find Transposition
-
- Insert (End - Front - After - Alternative)
- Search
- Delete (First - Last)
-
- Insert (End - Front - Sorted)
- Delete (Front - End)
- Is Palindrom
- Middle Value
-
- Print Row
- Print Row Non zero
-
- Print Matrix
- Print Matrix Non zero
-
- Print Cube
- Print Cube Non zero
-
- Is Full
- Is Empty
- Push
- Pop
- Peek
- Reverse (Subwords - Num)
- Remove Adjacent Duplicates
- Reverse
- Insert at Bottom
-
- Push
- Pop
- Peek
-
- Is Full
- Is Empty
- Next
- Enqueue
- Dequeue
-
- Is Empty
- Enqueue
- Dequeue
-
- Next
- Prev
- Enqueue (Rear - Front)
- Dequeue (Rear - Front)
- Is Empty
- Is Full
-
- Print (Pre order - Post order - In order)
- Tree max
- Tree Height
- Is exists
- Is Perfect
- Traverse
- Level order Traversal
- Is Mirror
- Is symmetric
- Is Flip
-
- Insert
- Search
- Level Order Traversal
-
- Insert
- Search
- Delete
- Get (In Order - Pre Order)
-
- Push
- Pop
- Is empty
- Heap Sort
-
- Push
- Pop
- Top
- Is Empty
-
- Insert
- Search
- Delete
- Level Order Traversal
- Lower Bound
- Upper Bound
- Prefix Exist
-
- Insert
- Delete
- Level Order Traversal
-
- Is Empty
- Enqueue
- Dequeue
-
- Is Empty
- Enqueue
- Dequeue
-
- Insert
- Word Exist
- Prefix Exist
-
- Hash Table LinkedList Based ( Chaining Technique )
- Hash Table Vector Based ( Chaining Technique )
- Hash Table Vector Based ( Linear Probing Technique )
- Hash Table Vector Based ( Quadratic Probing Technique )