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 cut a 282-hour exact solver down to 22 minutes

How I cut a 282-hour exact solver down to 22 minutes

Comments
4 min read
Sliding Window & Two Pointers: The Decision Framework Nobody Teaches You

Sliding Window & Two Pointers: The Decision Framework Nobody Teaches You

Comments
7 min read
O(2ⁿ) & O(n!): Algorithms to Avoid

O(2ⁿ) & O(n!): Algorithms to Avoid

Comments
2 min read
FluxCSV: Building a Streaming CSV Parser with a Pure DFA

FluxCSV: Building a Streaming CSV Parser with a Pure DFA

1
Comments
4 min read
Creating a super-efficient Valid Palindrome algorithm in C#

Creating a super-efficient Valid Palindrome algorithm in C#

Comments
3 min read
Longest Substring Without Repeating Characters — LeetCode #3 (Medium)

Longest Substring Without Repeating Characters — LeetCode #3 (Medium)

Comments
3 min read
Visualizing A* One Node at a Time — The Tie-Break and Corner-Cut Decisions That Decide How the Demo Looks

Visualizing A* One Node at a Time — The Tie-Break and Corner-Cut Decisions That Decide How the Demo Looks

1
Comments
6 min read
Text Compression Still Wastes Bits on Structure

Text Compression Still Wastes Bits on Structure

Comments
2 min read
How Optimization Search Works — From Hill Climbing to Genetic Algorithms

How Optimization Search Works — From Hill Climbing to Genetic Algorithms

Comments
4 min read
Building a Vector Search Engine from Scratch in Python (Flat, IVF, HNSW)

Building a Vector Search Engine from Scratch in Python (Flat, IVF, HNSW)

Comments
6 min read
How Classical Machine Learning Works — From Linear Models to Random Forests

How Classical Machine Learning Works — From Linear Models to Random Forests

1
Comments
4 min read
Find First Non Repeating Character - Java Program With Time and Space Complexity

Find First Non Repeating Character - Java Program With Time and Space Complexity

Comments
5 min read
I built a retrieval engine that answers in 0.017ms where grep takes 115ms.

I built a retrieval engine that answers in 0.017ms where grep takes 115ms.

Comments
2 min read
How I calculate overtime pay across midnight — the edge cases most time-tracking apps get wrong

How I calculate overtime pay across midnight — the edge cases most time-tracking apps get wrong

5
Comments
5 min read
Creator Burnout Is a Platform Design Problem. Here's the Technical Proof.

Creator Burnout Is a Platform Design Problem. Here's the Technical Proof.

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