npm

lgrthms
TypeScript icon, indicating that this package has built-in type declarations

1.0.1Β β€’Β PublicΒ β€’Β Published

lgrthms

Algorithms and data structures for your JavaScript and TypeScript projects πŸ§‘β€πŸ’»

Installation

npm

npm install lgrthms

yarn

yarn add lgrthms

Content

Data Structures

  • Singly Linked List
  • Doubly Linked List
  • Binary Search Tree (BST)
  • Binary Tree
  • Stack
  • Queue
  • Priority Queue
  • Min Heap
  • Max Heap
  • Graph
  • Trie

Search Algorithms

  • Binary Search
  • Shifted Binary Search
  • Search For Range
  • Find K Smallest
  • Find K Largest
  • Find K Largest
  • Quickselect
  • Search In Matrix
  • Search In Sorted Matrix

Sort Algorithms

  • Bubble Sort
  • Insertion Sort
  • Selection Sort
  • Quick Sort
  • Heap Sort
  • Merge Sort
  • Radix Sort
  • Bytes Sort

String Algorithms

  • Knuth-Morris-Pratt Algorithm
  • Levenshtein Distance

Graph Algorithms

  • Depth-first Search (DFS)
  • Breadth-first Search (BFS)
  • Topological Sort
  • Dijkstra's Algorithm
  • BFS Shortest Path
  • A* Algorithm

/lgrthms/

    Package Sidebar

    Install

    npm i lgrthms

    Weekly Downloads

    260

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    93.1 kB

    Total Files

    80

    Last publish

    Collaborators

    • eakriulin