DEV Community

Algorithms

Heap, Binary Tree, Data Structure it doesn't matter. This tag should be used for anything Algorithm & Data Structure focused.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Backtracking: Solving Sudoku Like Neo in The Matrix

Backtracking: Solving Sudoku Like Neo in The Matrix

Comments
4 min read
How Many Introductions Away Are You From Pedro Pascal? A Practical Introduction to Graph Search

Explains BFS using celebrity social networks

How Many Introductions Away Are You From Pedro Pascal? A Practical Introduction to Graph Search

31
Comments 26
4 min read
Learn Topological Sort by Making a Build Graph Explain Its Cycle

Learn Topological Sort by Making a Build Graph Explain Its Cycle

Comments
4 min read
Why Your JavaScript Sums Are Wrong (And How to Fix Them)

Why Your JavaScript Sums Are Wrong (And How to Fix Them)

2
Comments 1
6 min read
Implementing UUID v7 by hand: time-sortable primary keys (and the same-millisecond trap)

Implementing UUID v7 by hand: time-sortable primary keys (and the same-millisecond trap)

1
Comments 1
4 min read
How to Solve Two-Pointer Problems (A Beginner-Friendly Guide)

How to Solve Two-Pointer Problems (A Beginner-Friendly Guide)

1
Comments
3 min read
Why Compressing an Image to Exactly 50KB Is Harder Than It Sounds

Why Compressing an Image to Exactly 50KB Is Harder Than It Sounds

2
Comments
7 min read
The Simplex Method, Explained Like an Algorithm (with a Free Step-by-Step Solver)

The Simplex Method, Explained Like an Algorithm (with a Free Step-by-Step Solver)

1
Comments 1
3 min read
Digit Tokenization: Why Commas Fix LLM Arithmetic

Digit Tokenization: Why Commas Fix LLM Arithmetic

Comments
8 min read
Method for calculating days by date's.

Method for calculating days by date's.

Comments
4 min read
How We Made Image Copy-Detection ~1,000,000 Faster — by Refusing to Look at Pixels

How We Made Image Copy-Detection ~1,000,000 Faster — by Refusing to Look at Pixels

1
Comments
6 min read
Build a Bloom Filter and Watch ‘Probably Present’ Become a False Positive

Build a Bloom Filter and Watch ‘Probably Present’ Become a False Positive

Comments
1 min read
Why Route Ranking Needs Deterministic Scoring, Not a Language Model

Why Route Ranking Needs Deterministic Scoring, Not a Language Model

Comments 2
2 min read
A* Search Algorithm: Game Pathfinding Explained

A* Search Algorithm: Game Pathfinding Explained

Comments
4 min read
Creating a Sudoku Solver Using Backtracking in JavaScript

Creating a Sudoku Solver Using Backtracking in JavaScript

2
Comments 1
4 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.