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.
I Didn't Collect ML Projects. I Kept Finding New Things to Hand the Same Algorithm.

I Didn't Collect ML Projects. I Kept Finding New Things to Hand the Same Algorithm.

Comments
3 min read
Largest Rectangle In Histogram

Largest Rectangle In Histogram

10
Comments
3 min read
Engagement Scoring for Auto-Repost: Ranking a Watchlist Without Analytics Access

Engagement Scoring for Auto-Repost: Ranking a Watchlist Without Analytics Access

Comments
6 min read
Rotting Oranges

Rotting Oranges

Comments
3 min read
Seeing Code in the Real World: The Bus Seating Problem 🚌

Seeing Code in the Real World: The Bus Seating Problem 🚌

Comments
1 min read
How the Brazilian CPF Validation Algorithm Works in JavaScript (Step-by-Step)

How the Brazilian CPF Validation Algorithm Works in JavaScript (Step-by-Step)

2
Comments
2 min read
My trading system has a 73.5% win rate and loses money. Here is the diagnostic that found it.

My trading system has a 73.5% win rate and loses money. Here is the diagnostic that found it.

Comments 1
3 min read
Min Stack

Min Stack

Comments
3 min read
Sliding Window Maximum | Monotonic Deque

Sliding Window Maximum | Monotonic Deque

Comments
3 min read
Find Poisoned Duration (LeetCode 495) - Understanding Overlapping Intervals

Find Poisoned Duration (LeetCode 495) - Understanding Overlapping Intervals

Comments
2 min read
Why Polymarket Bots Need Different Risk Logic Than Casino RNG Games

Why Polymarket Bots Need Different Risk Logic Than Casino RNG Games

2
Comments
2 min read
Implement strStr() (Find the Index of the First Occurrence in a String) | Rabin-Karp

Implement strStr() (Find the Index of the First Occurrence in a String) | Rabin-Karp

Comments 2
3 min read
The Bitwise Jedi: Mastering the XOR Trick Like a Lightsaber

The Bitwise Jedi: Mastering the XOR Trick Like a Lightsaber

Comments
4 min read
LRU Cache | HashMap + Doubly Linked List

LRU Cache | HashMap + Doubly Linked List

Comments
1 min read
Next Smaller Element

Next Smaller Element

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