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.
The Unique Insight Behind the Binary Tree Maximum Path Sum (LeetCode 124)

The Unique Insight Behind the Binary Tree Maximum Path Sum (LeetCode 124)

Comments
3 min read
Intersection-Aware Asset Placement using Computational Geometry and ML

Intersection-Aware Asset Placement using Computational Geometry and ML

Comments
2 min read
Day 69 of 100 days dsa coding challenge

Day 69 of 100 days dsa coding challenge

1
Comments
1 min read
Mengenal Algoritma Pencarian: Dari Linear hingga Binary Search

Mengenal Algoritma Pencarian: Dari Linear hingga Binary Search

Comments
9 min read
Perfect Shuffle: The Strange Fractals Hidden in a Simple Algorithm

Perfect Shuffle: The Strange Fractals Hidden in a Simple Algorithm

Comments
12 min read
Advent of Code 2025 - Day 5: Cafeteria

Advent of Code 2025 - Day 5: Cafeteria

Comments
2 min read
How SmartKNN Learns Feature Weights Internally.

How SmartKNN Learns Feature Weights Internally.

3
Comments
3 min read
Day 68 of 100 days dsa coding challenge

Day 68 of 100 days dsa coding challenge

1
Comments
2 min read
3577. Count the Number of Computer Unlocking Permutations

3577. Count the Number of Computer Unlocking Permutations

Comments
4 min read
Coding Challenge Practice - Question 75

Coding Challenge Practice - Question 75

Comments
1 min read
Day 62: Python Longest Subarray with Target Sum - O(n) Prefix Sum & HashMap Guide (LeetCode Vibes)

Day 62: Python Longest Subarray with Target Sum - O(n) Prefix Sum & HashMap Guide (LeetCode Vibes)

Comments
3 min read
Advent of Code 2025 - Day 4: Paper Roll Removal

Advent of Code 2025 - Day 4: Paper Roll Removal

1
Comments
3 min read
Stop Grinding LeetCode: How to Build Algorithm Intuition (Not Memorization) with AI

Stop Grinding LeetCode: How to Build Algorithm Intuition (Not Memorization) with AI

Comments
5 min read
Wave-Encoded Data Systems: An Alternative Abstraction for Data Representation

Wave-Encoded Data Systems: An Alternative Abstraction for Data Representation

5
Comments
6 min read
Interview preparation #1

Interview preparation #1

Comments
1 min read
Next Permutation — Intuition, Explanation, and Clean Implementation

Next Permutation — Intuition, Explanation, and Clean Implementation

2
Comments
3 min read
Insertion Sort in JavaScript

Insertion Sort in JavaScript

Comments
2 min read
3583. Count Special Triplets

3583. Count Special Triplets

Comments
4 min read
Day 66 of 100 days dsa coding challenge

Day 66 of 100 days dsa coding challenge

1
Comments
1 min read
Why People Say “F*** LeetCode”: Difficulty, Fairness, Real-World Value — and a Better Way

Why People Say “F*** LeetCode”: Difficulty, Fairness, Real-World Value — and a Better Way

Comments
7 min read
Day 59: Python Reverse Singly Linked List, Master the Iterative Pointer Flip Technique for O(n) Reversal

Day 59: Python Reverse Singly Linked List, Master the Iterative Pointer Flip Technique for O(n) Reversal

Comments
3 min read
Coding Challenge Practice - Question 73

Coding Challenge Practice - Question 73

Comments
1 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
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
loading...