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.
The Art of Binary Search

The Art of Binary Search

7
Comments 2
3 min read
Generating Tournament Brackets in Vanilla JS: Seeding, Byes, and the Loser's Bracket

Generating Tournament Brackets in Vanilla JS: Seeding, Byes, and the Loser's Bracket

Comments
4 min read
How to encode a won Minesweeper board in base64url

How to encode a won Minesweeper board in base64url

2
Comments
4 min read
How Algorithms Discover Structure

How Algorithms Discover Structure

Comments
12 min read
Enhancing Scientific Programming Skills: Bridging Foundational Knowledge to Advanced Scientific Computing Techniques

Enhancing Scientific Programming Skills: Bridging Foundational Knowledge to Advanced Scientific Computing Techniques

Comments
7 min read
How 913 Puzzles Became 7,304 Levels: Procedural Variation on a Precomputed Puzzle Bank

How 913 Puzzles Became 7,304 Levels: Procedural Variation on a Precomputed Puzzle Bank

Comments
4 min read
Your Sort Is Slow Because of Your Comparator: The Schwartzian Transform in JavaScript, Python and Dart

Your Sort Is Slow Because of Your Comparator: The Schwartzian Transform in JavaScript, Python and Dart

Comments
7 min read
High-Performance Turn-Based Game AI: Integrating Bitboard Representation with Alpha-Beta Pruning in Rust and Go

High-Performance Turn-Based Game AI: Integrating Bitboard Representation with Alpha-Beta Pruning in Rust and Go

Comments
3 min read
GCD and LCM Explained: Two Tricks That Make Number Problems Easy

GCD and LCM Explained: Two Tricks That Make Number Problems Easy

Comments
2 min read
Prime Factorization Made Simple: Breaking Numbers Into Primes

Prime Factorization Made Simple: Breaking Numbers Into Primes

Comments
2 min read
Why term rewriting system is such a cool thing

Why term rewriting system is such a cool thing

Comments
3 min read
Scoring a drawing game fairly: speed points, a shrinking share, and a paid drawer

Scoring a drawing game fairly: speed points, a shrinking share, and a paid drawer

Comments
2 min read
The Curious Case of 1/998001: Missing Number & Math Guide

The Curious Case of 1/998001: Missing Number & Math Guide

Comments
3 min read
Finding all factors of n in O(sqrt(n)) with a tiny JS function

Finding all factors of n in O(sqrt(n)) with a tiny JS function

Comments
1 min read
The Six Pits: A Pre-Flight Checklist for Swapping Signatures on a Live Chain

The Six Pits: A Pre-Flight Checklist for Swapping Signatures on a Live Chain

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