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.
Spiral Matrix Traversal, Explained Step by Step (with a visualizer you can scrub)

Spiral Matrix Traversal, Explained Step by Step (with a visualizer you can scrub)

1
Comments 2
5 min read
What Is Bootstrap Aggregation? How Does Bagging Make Machine Learning Models More Robust?

What Is Bootstrap Aggregation? How Does Bagging Make Machine Learning Models More Robust?

1
Comments
8 min read
Building 2048 in JavaScript: One Merge Function, Four Directions

Building 2048 in JavaScript: One Merge Function, Four Directions

Comments 1
5 min read
I Audited a C Graph Algorithm Project and Found 13 Bugs — Including an Auth Bypass That Was Hiding in Plain Sight

I Audited a C Graph Algorithm Project and Found 13 Bugs — Including an Auth Bypass That Was Hiding in Plain Sight

Comments
6 min read
Matching Kalshi and Polymarket contracts is harder than it looks (and how I made it mostly work)

Matching Kalshi and Polymarket contracts is harder than it looks (and how I made it mostly work)

1
Comments 1
3 min read
How to Visualize Millions of Data Points Efficiently

How to Visualize Millions of Data Points Efficiently

Comments
9 min read
Mastering Two Pointers: A Step-by-Step Guide to Solving Sequence Problems

Mastering Two Pointers: A Step-by-Step Guide to Solving Sequence Problems

Comments
5 min read
Big-O explained simply

Big-O explained simply

Comments
3 min read
From 4.5 Seconds to 6 Milliseconds: What Actually Made Our Star Battle Solver ~700 Faster

From 4.5 Seconds to 6 Milliseconds: What Actually Made Our Star Battle Solver ~700 Faster

Comments
6 min read
I generated 240 puzzle levels backwards, then proved each has one solution

I generated 240 puzzle levels backwards, then proved each has one solution

2
Comments 2
4 min read
Building XML-to-Markdown Converters: Algorithms and Edge Cases

Building XML-to-Markdown Converters: Algorithms and Edge Cases

Comments
2 min read
Building a Client-Side DAG Runtime with Kahn's Algorithm

Building a Client-Side DAG Runtime with Kahn's Algorithm

Comments
8 min read
Debunking the Fixed Window rate limiting "boundary burst" myth

Debunking the Fixed Window rate limiting "boundary burst" myth

Comments
3 min read
A real world case of recursion done right in PHP

A real world case of recursion done right in PHP

Comments
5 min read
Why contiguous Data Structures (DS) are faster than non-contiguous DS

Why contiguous Data Structures (DS) are faster than non-contiguous DS

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