Forem

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.
Same Game in Vanilla JS — Flood Fill, Gravity, and Column Compression

Same Game in Vanilla JS — Flood Fill, Gravity, and Column Compression

Comments
4 min read
Prime Factorization With Deterministic Miller-Rabin Up to 10^24

Prime Factorization With Deterministic Miller-Rabin Up to 10^24

Comments
3 min read
Classical Ciphers With Chi-Squared Frequency Analysis for Auto-Decryption

Classical Ciphers With Chi-Squared Frequency Analysis for Auto-Decryption

Comments
3 min read
Japanese Wordle — Why Duplicate-Character Handling Is Trickier Than It Looks

Japanese Wordle — Why Duplicate-Character Handling Is Trickier Than It Looks

Comments
2 min read
Navigating into Quantum Computing for Software Engineers

Navigating into Quantum Computing for Software Engineers

2
Comments 2
1 min read
A Text and JSON Diff Viewer With LCS Algorithm and Semantic Comparison

A Text and JSON Diff Viewer With LCS Algorithm and Semantic Comparison

Comments
2 min read
Building Minesweeper With a Pure-Function Game Engine and BFS Flood Fill

Building Minesweeper With a Pure-Function Game Engine and BFS Flood Fill

Comments
3 min read
Snake With a Greedy Auto-Play AI and Immutable Game State

Snake With a Greedy Auto-Play AI and Immutable Game State

Comments
3 min read
đź’ľ Memoization Explained Like You're 5

đź’ľ Memoization Explained Like You're 5

Comments
2 min read
What Amazon, Google, and Meta actually test in coding interviews (with specific problems)
Cover image for What Amazon, Google, and Meta actually test in coding interviews (with specific problems)

What Amazon, Google, and Meta actually test in coding interviews (with specific problems)

1
Comments 1
6 min read
How I Used Bit Manipulation to Speed Up Float-to-Int Conversion in a Storage Engine
Cover image for How I Used Bit Manipulation to Speed Up Float-to-Int Conversion in a Storage Engine

How I Used Bit Manipulation to Speed Up Float-to-Int Conversion in a Storage Engine

1
Comments 3
5 min read
How I Built an HFT Matching Engine (And All The Things I Got Wrong)

How I Built an HFT Matching Engine (And All The Things I Got Wrong)

Comments
5 min read
No wall clock required: a 64-bit ID generator from a counter + reversible permutation

No wall clock required: a 64-bit ID generator from a counter + reversible permutation

Comments
12 min read
my own hash are worth it?

my own hash are worth it?

Comments
1 min read
Towards O(1) Computing: Minimizing System Entropy with Data-Centric High-Frequency Processing
Cover image for Towards O(1) Computing: Minimizing System Entropy with Data-Centric High-Frequency Processing

Towards O(1) Computing: Minimizing System Entropy with Data-Centric High-Frequency Processing

Comments
2 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.