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.
Animating Algorithms in SwiftUI: A Step-Recorder Pattern for Visualising Sorts, Searches and Graphs

Animating Algorithms in SwiftUI: A Step-Recorder Pattern for Visualising Sorts, Searches and Graphs

Comments
11 min read
Fuzzy search that keeps up with typing: ranking 20,000 items in a VS Code webview

Fuzzy search that keeps up with typing: ranking 20,000 items in a VS Code webview

Comments
5 min read
Achieving AI-style reasoning without an LLM!

Achieving AI-style reasoning without an LLM!

Comments
5 min read
Teaching spring-and-joint creatures to walk with a genetic algorithm (hand-written 2D physics)

Teaching spring-and-joint creatures to walk with a genetic algorithm (hand-written 2D physics)

Comments
3 min read
Turtle Trading Rules: The 1983 Experiment, Tested in 2026

Turtle Trading Rules: The 1983 Experiment, Tested in 2026

Comments 1
6 min read
SkySearch for the better flight using 30 rpm API

SkySearch for the better flight using 30 rpm API

Comments
4 min read
Euclid's Algorithm:

Euclid's Algorithm:

Comments
11 min read
Why a Word Ladder Needs a Graph Search: BFS in JavaScript

Why a Word Ladder Needs a Graph Search: BFS in JavaScript

Comments
5 min read
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
(B5) is empty: 420 solver-checked classes, and A(7) <= 8 now comes down to (B6)

(B5) is empty: 420 solver-checked classes, and A(7) <= 8 now comes down to (B6)

Comments
8 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
A(6) = 6: 775 solver answers close t = 6, and A(9) <= 13 follows by hand

A(6) = 6: 775 solver answers close t = 6, and A(9) <= 13 follows by hand

Comments
14 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
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
👋 Sign in for the ability to sort posts by relevant, latest, or top.