This package is developed for functionality of data structures and algorithms, some standard examples of algorithms are implemented
If you like this project, please leave me a star. ★
npm i @raj-rathod/dsa-methods
Then import it's module into your code:
import { SingleLinkedList } from '@raj-rathod/dsa-methods';
how to use it in angular components:
import { SingleLinkedList } from '@raj-rathod/dsa-methods';
export class SingleLinkedListComponent implements OnInit {
singleLinkedList: SingleLinkedList;
constructor() {
this.singleLinkedList = new SingleLinkedList();
this.singleLinkedList.createSingleLinkedList([1, 2, 3]);
}
}
-
- Linear Data Structures
- Array
- Matrix
- Stack
- Queue
- Linked List
- Non-linear Data Structures
- Tree
- Graph
- Trie
- Hash Table
- Linear Data Structures
-
- Sorting
- Selection Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Counting Sort
- Radix Sort
- Bucket Sort
- Shell Sort
- Heap Sort
- Searching
- Linear Search
- Binary Search
- Jump Search
- Interpolation Search
- Exponential Search
- Fibonacci Search
- Divide and Conquer
- Merge Sort
- Quick Sort
- Strassen's Algorithm
- Closest Pair of Points
- Karatsuba Algorithm
- Recursive
- Dynamic Programming
- Greedy
- Backtracking
- Hashing
- Randomized
- Sorting
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please read the Contribute guide
Do star, fork and share the repo to show your support, it would help others too!
Let me know your views or any changes or improvements or contribute to make better for others
❤️ Thank you all for Forking this repository and contribute ❤️