Lago
📕 Data Structures and Algorithms library in TypeScript and JavaScript
Install / Use
/learn @yangshun/LagoREADME
<div align="center"> <h3>💡 Practice implementing Data Structures and Algorithms in JavaScript for free on <a href="https://www.greatfrontend.com/focus-areas/data-structures-algorithms">GreatFrontEnd</a> 💡</h3> </div>
Contents
Common Data Structures and Algorithms implementations in JavaScript.
Data Structures
- List
- Stack
- Queue
- Double-ended Queue
- Trie
- Binary Tree
- Binary Search Tree
- N-D array
- Bloom Filter
- Disjoint-set
- Counter
- Graph (map-based)
- Priority Queue
- AVL Tree
- Heap
- Suffix Tree (Help Wanted!)
- Segment Tree (Help Wanted!)
Algorithms
- Binary Search
- Quickselect
- Merge Sort
- Quicksort
- Heap Sort
- Topological Sort
- Breadth-first Search
- Depth-first Search
- Dijkstra's Algorithm
- Floyd-Warshall Algorithm
- Bellman-Ford Algorithm
Development
$ yarn install
$ yarn test --watch
Before pushing/submitting PR
$ yarn check-all
Related Skills
node-connect
340.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
84.1kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
review-duplication
99.4kUse this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
