Collection of Datastructure problems solved with Typescript.
- LinkedList Datastructure
- Implement a Queue using Linkedlist
- Implement a Stack using Linkedlist
- Get Linkedlist length
- Get the Middle node of a Linkedlist
- Reverse a Linkedlist
- Rotate a Linkedlist N times
- Traverse a Linkedlist (forward/backward)
- Merge two sorted Linked lists
- Sort a Linkedlist of values(0,1,2)
- Validate if a Linkedlist is a Palindrome or not
- Insert a value in a sorted Linkedlist
- Linked List Equality
- BinaryTree Datastructure
- Depth First Traversal
- Level Order Traversal
- InOrder Traversal
- Post-Order Traversal
- Pre-Order Traversal
- Binary Search Tree
- Count the Number of leaves in a Tree
- Check if a Binary Tree is full
yarn install
yarn test
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.