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.
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
Sorting a million rows in JavaScript, and where the time actually goes

Sorting a million rows in JavaScript, and where the time actually goes

15
Comments
7 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
UCRF: Exploring Version Provenance for Concurrency Control and Selective Recovery

UCRF: Exploring Version Provenance for Concurrency Control and Selective Recovery

1
Comments 1
10 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
Tree pattern matching

Tree pattern matching

Comments 2
1 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
How to Come Up With the Raft Consensus Algorithm Yourself

How to Come Up With the Raft Consensus Algorithm Yourself

Comments 1
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
👋 Sign in for the ability to sort posts by relevant, latest, or top.