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.
How much of a fairness constraint is free? Measure it, don't predict it

How much of a fairness constraint is free? Measure it, don't predict it

1
Comments 1
10 min read
djb2 Hashing is Wrong

djb2 Hashing is Wrong

Comments
3 min read
Modelling India's residential status rules in code (and why a one-year "AY 2026-27" calculator isn't enough)

Modelling India's residential status rules in code (and why a one-year "AY 2026-27" calculator isn't enough)

Comments
5 min read
Decoding Morse code from a microphone in the browser (Goertzel, envelopes and a little clustering)

Decoding Morse code from a microphone in the browser (Goertzel, envelopes and a little clustering)

Comments
6 min read
How We Guarantee a Mahjong Solitaire Board Is Solvable

How We Guarantee a Mahjong Solitaire Board Is Solvable

Comments
6 min read
Why order-level matching fails for payment processor payouts (and what to match instead)

Why order-level matching fails for payment processor payouts (and what to match instead)

Comments
2 min read
How We Build Pentomino Levels with Dancing Links

How We Build Pentomino Levels with Dancing Links

Comments
6 min read
The Removing Element Issue

The Removing Element Issue

Comments
4 min read
Bitmask Nonogram Line Solvers & 2D BFS Stencil Island Bridging in Pure TypeScript

Bitmask Nonogram Line Solvers & 2D BFS Stencil Island Bridging in Pure TypeScript

Comments
5 min read
How a Daily Puzzle Can Be the Same for Everyone, No Server

How a Daily Puzzle Can Be the Same for Everyone, No Server

Comments
5 min read
How Hundreds of Puzzle Levels Are Generated and Checked

How Hundreds of Puzzle Levels Are Generated and Checked

Comments
6 min read
Roman Numerals Are a Subtractive Notation: Parsing Them Backwards Is a Bug Factory

Roman Numerals Are a Subtractive Notation: Parsing Them Backwards Is a Bug Factory

Comments
4 min read
Undo für Würfelzüge: Warum die inverse Folge rückwärts gelesen wird

Undo für Würfelzüge: Warum die inverse Folge rückwärts gelesen wird

Comments
3 min read
SQLazy: Find Strings with 5 or More Consecutive Alphabetical Letters

SQLazy: Find Strings with 5 or More Consecutive Alphabetical Letters

5
Comments
4 min read
Future Value of a Lump Sum and an Annuity: One Formula, Two Cases

Future Value of a Lump Sum and an Annuity: One Formula, Two Cases

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