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.
When Counting Overlapping Bookings Is Not Enough: Capacity-Aware Availability in PHP

When Counting Overlapping Bookings Is Not Enough: Capacity-Aware Availability in PHP

Comments
6 min read
Building a "Trending This Week" Page: Time-Decayed Play Counts, Log-Space Scores and Cached Reads in Next.js

Building a "Trending This Week" Page: Time-Decayed Play Counts, Log-Space Scores and Cached Reads in Next.js

Comments
6 min read
What a Number-Guessing Game Teaches About Binary Search and Vue State

What a Number-Guessing Game Teaches About Binary Search and Vue State

12
Comments
5 min read
Implementing Perceptual Hashing for Duplicate Image Detection in the Browser

Implementing Perceptual Hashing for Duplicate Image Detection in the Browser

Comments
5 min read
Tic-Tac-Toe: A Solved Game, an Early Computer and Its Variants

Tic-Tac-Toe: A Solved Game, an Early Computer and Its Variants

1
Comments 2
5 min read
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
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
How Hundreds of Puzzle Levels Are Generated and Checked

How Hundreds of Puzzle Levels Are Generated and Checked

Comments
6 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
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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.