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.
Crossword helper internals: regex vs trie for pattern matching

Crossword helper internals: regex vs trie for pattern matching

Comments
4 min read
Building a Boggle solver: DFS meets the trie, and why naive recursion blows up

Building a Boggle solver: DFS meets the trie, and why naive recursion blows up

Comments
4 min read
How Auto Transport Logistics Actually Works: A Technical Deep Dive

How Auto Transport Logistics Actually Works: A Technical Deep Dive

Comments
4 min read
Solving Wordle with information theory: entropy, guess trees, and why greedy wins

Solving Wordle with information theory: entropy, guess trees, and why greedy wins

Comments
4 min read
Graph Algorithms for Coding Interviews: When to Use BFS, DFS, or Dijkstra

Graph Algorithms for Coding Interviews: When to Use BFS, DFS, or Dijkstra

Comments
4 min read
How I Caught and Fixed an N+1 Query in My Django REST API

Silent bottlenecks invisible in local dev

How I Caught and Fixed an N+1 Query in My Django REST API

6
Comments 3
3 min read
I Taught a Browser to Play Piano — Here's How It Figures Out Which Finger Goes Where

I Taught a Browser to Play Piano — Here's How It Figures Out Which Finger Goes Where

Comments
9 min read
Why Art Discovery Algorithms Are Still Terrible (And What We Can Learn)

Why Art Discovery Algorithms Are Still Terrible (And What We Can Learn)

Comments
2 min read
Why LeetCode is So Hard — and Why Grinding More Problems Won't Help

Why LeetCode is So Hard — and Why Grinding More Problems Won't Help

1
Comments
5 min read
Understanding Merkle Trees: a Rust Implementation with Blockchain Examples

Understanding Merkle Trees: a Rust Implementation with Blockchain Examples

Comments
1 min read
Rate Limiting in Distributed Systems: Algorithms Every Backend Developer Should Know

Rate Limiting in Distributed Systems: Algorithms Every Backend Developer Should Know

Comments
2 min read
I couldn't find a fun way to learn CPU scheduling so I built one

I couldn't find a fun way to learn CPU scheduling so I built one

Comments
2 min read
Building a License Plate Recognition Engine in C++ — Part 1: Image Loading and Core LPR Data Structures

Building a License Plate Recognition Engine in C++ — Part 1: Image Loading and Core LPR Data Structures

2
Comments
2 min read
Quickselect: find the k-th smallest element in O(n), no sorting required

Quickselect: find the k-th smallest element in O(n), no sorting required

Comments
5 min read
Largest Subarray with 0 sum

Largest Subarray with 0 sum

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