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.
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
Design a LFU ( Least Frequently Used ) Cache

Design a LFU ( Least Frequently Used ) Cache

Comments
1 min read
Next Greater Element I | Monotonic Stack

Next Greater Element I | Monotonic Stack

Comments
3 min read
Sort a Stack | Recursion

Sort a Stack | Recursion

Comments
2 min read
I backtested the most popular Binance grid bots on 4 years of real data

I backtested the most popular Binance grid bots on 4 years of real data

Comments
2 min read
DSA | Random Generator | Can you come up with a solution?

DSA | Random Generator | Can you come up with a solution?

Comments 1
1 min read
Auto-Reframing Live Video to Vertical: Why It Is Harder Than a Crop

Auto-Reframing Live Video to Vertical: Why It Is Harder Than a Crop

Comments
2 min read
Why Repeatedly Halving an Array is O(log n), Not Linear

Why Repeatedly Halving an Array is O(log n), Not Linear

Comments
3 min read
Valid Parentheses | Stack

Valid Parentheses | Stack

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