JSPM

lgrthms

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 106
  • Score
    100M100P100Q77436F
  • License MIT

Algorithms and data structures for your JavaScript and TypeScript projects 🧑‍💻

Package Exports

  • lgrthms
  • lgrthms/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lgrthms) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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