Skip to content

can-dy-jack/algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

JavaScript算法与数据结构库

数据结构

npm

javascript data structure repository.
js数据结构集成库。

sum up all data structures of @kartjim into a single repository.

npm i structure-extend

or use yarn

yarn add structure-extend

import

const {
    Queue,
    Stack,
    MaxHeap,
    MinHeap,
    minHeapSort,
    maxHeapSort,
    PriorityQueue,
    LinkedList,
    DoubleLinkedList,
    LinkedListNode,
    DoubleLinkedListNode
} = require('structure-extend')

or use ESM:

import {
    Queue,
    Stack,
    MaxHeap,
    MinHeap,
    minHeapSort,
    maxHeapSort,
    PriorityQueue,
    LinkedList,
    DoubleLinkedList,
    LinkedListNode,
    DoubleLinkedListNode,
} from 'structure-extend';

算法 计划中~

数组相关、字符串相关、双指针、滑动窗口、二分、位运算、DFS、BFS、回溯、字典树、前缀树、并查集、线段树、树状数组、记忆化搜索、分治、DP、贪心、图论、数论。。。

数组相关:

  • 前缀和
  • 差分

Releases

No releases published

Packages

No packages published