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.
O(1) Country Selection on a 3D Globe with GPU Picking and Hemisphere Detection

O(1) Country Selection on a 3D Globe with GPU Picking and Hemisphere Detection

Comments
11 min read
Advent of Code 2025 - Day 3: Maximizing Battery Joltage

Advent of Code 2025 - Day 3: Maximizing Battery Joltage

1
Comments
5 min read
The Non-Drinker's Guide to Clustering Algorithms 🎉

The Non-Drinker's Guide to Clustering Algorithms 🎉

Comments
2 min read
Monkey Market

Monkey Market

Comments
5 min read
Advent of Code 2025 Day 2: Gift Shop 🎁

Advent of Code 2025 Day 2: Gift Shop 🎁

1
Comments
2 min read
Advent of Code 2025 - Day 1: The Combination Lock

Advent of Code 2025 - Day 1: The Combination Lock

1
Comments
3 min read
The Sliding Window Problem That Taught Me How to Think

The Sliding Window Problem That Taught Me How to Think

Comments
4 min read
Day 57: Python GCD & LCM with Euclidean Algorithm, Lightning-Fast Divisor Math That's 2000+ Years Old (And Still Unbeatable)

Day 57: Python GCD & LCM with Euclidean Algorithm, Lightning-Fast Divisor Math That's 2000+ Years Old (And Still Unbeatable)

Comments
3 min read
Evolving Cellular Automata

Evolving Cellular Automata

Comments
14 min read
1523. Count Odd Numbers in an Interval Range

1523. Count Odd Numbers in an Interval Range

Comments
2 min read
Your DSA Toolkit: Hashmaps, Queues & Stacks (JavaScript)

Your DSA Toolkit: Hashmaps, Queues & Stacks (JavaScript)

Comments
11 min read
Evolving Excellence: Can AI Design Algorithms Better Than Us? by Arvind Sundararajan

Evolving Excellence: Can AI Design Algorithms Better Than Us? by Arvind Sundararajan

Comments
2 min read
Turbocharge Your Optimization: Preconditioning for the Win

Turbocharge Your Optimization: Preconditioning for the Win

Comments
2 min read
3578. Count Partitions With Max-Min Difference at Most K

3578. Count Partitions With Max-Min Difference at Most K

Comments
3 min read
I Struggled with LeetCode for Months Until I Learned These 6 Patterns 🎯

I Struggled with LeetCode for Months Until I Learned These 6 Patterns 🎯

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