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 to build a "which character are you?" quiz where every result is equally likely

How to build a "which character are you?" quiz where every result is equally likely

Comments
4 min read
Solving Multi-Color Nonograms in O(L K): Forward-Backward DP, Zero-Gap Color Rules & 1-Ply Lookahead in TypeScript

Solving Multi-Color Nonograms in O(L K): Forward-Backward DP, Zero-Gap Color Rules & 1-Ply Lookahead in TypeScript

1
Comments
7 min read
Two Pointers Pattern

Two Pointers Pattern

Comments
3 min read
Test a seven-card poker evaluator with invariants, not just famous hands

Test a seven-card poker evaluator with invariants, not just famous hands

Comments
2 min read
A rank-35 bilinear algorithm for truncated multiplication mod x^11 over GF(2) (and rank 30 for x^10)

A rank-35 bilinear algorithm for truncated multiplication mod x^11 over GF(2) (and rank 30 for x^10)

Comments
3 min read
Building a Strictly Safe (#![forbid(unsafe_code)]) Arena-Allocated Doubly Linked List Driven by a Fuzzy Evolutionary Algorithm in Rust

Building a Strictly Safe (#![forbid(unsafe_code)]) Arena-Allocated Doubly Linked List Driven by a Fuzzy Evolutionary Algorithm in Rust

Comments
3 min read
Beamies: How a Solver Measures and Raises Difficulty

Beamies: How a Solver Measures and Raises Difficulty

Comments
8 min read
How I Built a Zero-Deadlock 60 60 Arrow Puzzle Generator in TypeScript

How I Built a Zero-Deadlock 60 60 Arrow Puzzle Generator in TypeScript

Comments
3 min read
Why Segmenting Headerless Binary Files Is Harder Than It Looks

Why Segmenting Headerless Binary Files Is Harder Than It Looks

Comments
2 min read
How to talk through time complexity, space complexity and edge cases in a live coding interview (without freezing)

How to talk through time complexity, space complexity and edge cases in a live coding interview (without freezing)

Comments
5 min read
Ultimate Tic-Tac-Toe: Why a Solved 3x3 Does Not Solve It

Ultimate Tic-Tac-Toe: Why a Solved 3x3 Does Not Solve It

Comments
6 min read
Why a Cable Can Pass a Vertex Collision Test and Still Clip a Step

Why a Cable Can Pass a Vertex Collision Test and Still Clip a Step

Comments
2 min read
BWS two-sample test: why the same rank deviation weighs more in the tails?

BWS two-sample test: why the same rank deviation weighs more in the tails?

Comments
4 min read
Understanding the Luhn Algorithm

Understanding the Luhn Algorithm

5
Comments
2 min read
Bracket seeding in one line of code, and the sum that catches a bad draw

Bracket seeding in one line of code, and the sum that catches a bad draw

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