Simple repo to gather data structures in Swift, and keeping myself updated! I have published it in case that some one may need a quick cheat sheet. (Coming from some one who has 10 followers max XDDDDD)
Feel free to reach out if you needed any help, or if you have found something is wrong with the implementations :)
Basic data structures such as:
- Stack
- Queue 2.1. Simple Queue 2.2. Advance Queue
- LinkedList 4.1. SinglyLinkedList 4.2. DoublyLinkedList
- Tree 5.1. BinaryTree
- Graph 6.1. Graph 6.2. UndirectionalGraph
- Heaps (MinHeap, MaxHeap)
- Small test cases to understand data structures beter
No limitations at all, just do it >:D
- Implement other tree data structures such as
BinarySearchTree,AVLTree, etc.. - Implement Graphs
- Fix shallow copying
- Implement sort algorithms and other operations (e.g swap, reverese)
- Improve code readability
- Add
swiftformat(and some Lint rules (maybe)) - Start doing leetcode?