How danny-pages/algorithms-js works
This is a JavaScript algorithm and data-structure reference, not an integrated application: users consult standalone solutions and reusable patterns to inform problem solving. Its content spans interview-style Leetcode problems, practical algorithm examples, data-structure implementations, and general templates. The files are independent snippets; the available evidence does not establish runtime calls between them, so the graph shows only the documented user-to-reference relationship. Group-level nodes represent directories whose individual implementations were not all sampled.
Main entry points: Leetcode Interview Problems · Arrays Array and String · Random Other Examples · LinkedLists Linked Lists
Components 17
Leetcode Solutions
- Interview Problems
Leetcode - Array Problems
Leetcode/001-two-sum.js - String Problems
Leetcode/005-longest-palindromic-substring.js - List Problems
Leetcode/002-add-two-numbers.js
Algorithm Examples
- Array and String
Random/Arrays - Other Examples
Random
Data Structures
- Linked Lists
Random/LinkedLists - Stacks
Random/Stacks - Queues
Random/Queues - Trees
Random/Trees - Hash Table
Random/Arrays/implementing-hash-table.js - Priority Queue
Random/Queues/priority-queue-implementation-backed-by-an-array.js
Reusable Patterns
- Search Patterns
Templates/modified-binary-search.js - Traversal Patterns
Templates - Sequence Patterns
Templates - Structure Patterns
Templates
Other components
- Problem Solver
Connections 11
- Problem Solver → Interview Problems: consults
- Problem Solver → Array and String: consults
- Problem Solver → Linked Lists: consults
- Problem Solver → Stacks: consults
- Problem Solver → Queues: consults
- Problem Solver → Trees: consults
- Problem Solver → Other Examples: consults
- Problem Solver → Search Patterns: consults
- Problem Solver → Traversal Patterns: consults
- Problem Solver → Sequence Patterns: consults
- Problem Solver → Structure Patterns: consults