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.
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
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
Blocking Millions of Malicious IPs in O(32) Time with Bitwise Tries

Blocking Millions of Malicious IPs in O(32) Time with Bitwise Tries

Comments 2
4 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
Building a Fast Word Unscrambler: The Algorithm Behind Anagram Solving

Building a Fast Word Unscrambler: The Algorithm Behind Anagram Solving

Comments
2 min read
I built a crypto trading bot. It lost to doing nothing.

I built a crypto trading bot. It lost to doing nothing.

Comments 1
5 min read
LeetCode 3116 (Hard) — binary search + inclusion-exclusion makes it easy

LeetCode 3116 (Hard) — binary search + inclusion-exclusion makes it easy

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