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.
Vanilla JavaScript validators: the algorithms behind Spanish ID documents

Vanilla JavaScript validators: the algorithms behind Spanish ID documents

1
Comments
4 min read
GN: Domain-Adaptive Lossless Compression for LLM Conversation Streams

GN: Domain-Adaptive Lossless Compression for LLM Conversation Streams

Comments
6 min read
I Tried Two Pointers on a DP Problem and Learned What "Subset" Actually Means

I Tried Two Pointers on a DP Problem and Learned What "Subset" Actually Means

Comments
6 min read
I Built a Compression Algorithm That Beats Gzip in 2 Weeks. I Have an A+ Cert.

I Built a Compression Algorithm That Beats Gzip in 2 Weeks. I Have an A+ Cert.

Comments
7 min read
Building AI for a 2v2 Card Game: How We Solved Cooperative Imperfect Information

Building AI for a 2v2 Card Game: How We Solved Cooperative Imperfect Information

Comments
4 min read
Why Mahjong AI is 10x Harder Than Go AI (And What We Learned Building One)

Why Mahjong AI is 10x Harder Than Go AI (And What We Learned Building One)

Comments
4 min read
Bloom Filters and their Applications

Bloom Filters and their Applications

Comments
10 min read
I Couldn't See Why dp[i] = dp[i+1] + dp[i+2] Actually Counts Anything

I Couldn't See Why dp[i] = dp[i+1] + dp[i+2] Actually Counts Anything

Comments
6 min read
Implementing Ken Perlin's 1983 Noise Algorithm, With Terrain and Marble Presets

Implementing Ken Perlin's 1983 Noise Algorithm, With Terrain and Marble Presets

Comments
3 min read
Writing a QR Code Encoder From Scratch — Reed-Solomon, Masking, and All

Writing a QR Code Encoder From Scratch — Reed-Solomon, Masking, and All

Comments
3 min read
Extracting Dominant Colors From Images With K-Means Clustering in the Browser

Extracting Dominant Colors From Images With K-Means Clustering in the Browser

Comments
2 min read
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
Classical Ciphers With Chi-Squared Frequency Analysis for Auto-Decryption

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

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