/DSA-questions

This package is developed for functionality of data structures and algorithms, some standard examples of algorithms are implemented

Primary LanguageTypeScriptMIT LicenseMIT

GitHub Repo stars GitHub forks GitHub watchers GitHub contributors GitHub issues npm

Data structures and algorithms methods

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.

Installation

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]);
    }

}

Table of Contents

  • Data Structures

    • Linear Data Structures
      • Array
      • Matrix
      • Stack
      • Queue
      • Linked List
    • Non-linear Data Structures
      • Tree
      • Graph
      • Trie
      • Hash Table
  • Algorithms

    • 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

Contributing

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

Connect with me ~Rajesh Rathore

Linkedin Badge Website Badge Twitter Badge Instagram Badge

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 ❤️