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.
How I Caught and Fixed an N+1 Query in My Django REST API

How I Caught and Fixed an N+1 Query in My Django REST API

1
Comments
3 min read
Linked Lists Finally Simple — Why Insert is O(1) When Arrays Are O(n)Uses This Algorithm for .sort()

Linked Lists Finally Simple — Why Insert is O(1) When Arrays Are O(n)Uses This Algorithm for .sort()

Comments
1 min read
Big O Notation Explained: Derive It, Don't Memorize It

Big O Notation Explained: Derive It, Don't Memorize It

Comments
7 min read
Week 7: How GusLift Handles Payment Without a Payment Processor

Week 7: How GusLift Handles Payment Without a Payment Processor

Comments
2 min read
Quick Sort — Why Your Programming Language Uses This Algorithm for .sort()

Quick Sort — Why Your Programming Language Uses This Algorithm for .sort()

Comments
1 min read
Space Complexity + Ω and Θ Notations

Space Complexity + Ω and Θ Notations

Comments
2 min read
The Death of Static Rate Limiters: Why Your Java Virtual Threads Need BBR-Style Adaptive Concurrency

The Death of Static Rate Limiters: Why Your Java Virtual Threads Need BBR-Style Adaptive Concurrency

Comments
2 min read
DSA Application in Real Life: How Git Diff Works: LCS Intuition, Myers Algorithm, and Real Code Changes

DSA Application in Real Life: How Git Diff Works: LCS Intuition, Myers Algorithm, and Real Code Changes

Comments
14 min read
BFS vs DFS: The Invariant Decides, Not Your Preference

BFS vs DFS: The Invariant Decides, Not Your Preference

Comments
5 min read
I read the X (Twitter) algorithm source for 4 days and built a Claude Code sub-agent that scores drafts before posting

I read the X (Twitter) algorithm source for 4 days and built a Claude Code sub-agent that scores drafts before posting

1
Comments 1
6 min read
Solving a Logistics Problem Using Genetic Algorithms

Solving a Logistics Problem Using Genetic Algorithms

Comments
5 min read
Visualizing 4 Sorting Algorithms with JavaScript Generators — O(n ) vs O(n log n) in Real Time

Visualizing 4 Sorting Algorithms with JavaScript Generators — O(n ) vs O(n log n) in Real Time

Comments
5 min read
The Recursive Mindset: Unlocking the Code You Already Know

The Recursive Mindset: Unlocking the Code You Already Know

Comments
6 min read
Building a Smart LRU Cache in Java: When Machines Mimic Human Memory 🧠💻

Building a Smart LRU Cache in Java: When Machines Mimic Human Memory 🧠💻

Comments
3 min read
ECDSA - The Math That Only Goes One Way

ECDSA - The Math That Only Goes One Way

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