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.
Hare and Tortoise - To Find Start of Loop in Linked List

Hare and Tortoise - To Find Start of Loop in Linked List

Comments
3 min read
2558. Take Gifts From the Richest Pile

2558. Take Gifts From the Richest Pile

Comments
4 min read
Mastering Strong and Weak Induction in Mathematics and Programming

Mastering Strong and Weak Induction in Mathematics and Programming

Comments
5 min read
Is Bitcoin Ready for the Quantum Era? Understanding Security and Future-Proofing

Is Bitcoin Ready for the Quantum Era? Understanding Security and Future-Proofing

1
Comments
2 min read
Binary Search || Python || Data Structures and Algorithms

Binary Search || Python || Data Structures and Algorithms

Comments
4 min read
Guard Gallivant

Guard Gallivant

Comments
3 min read
2779. Maximum Beauty of an Array After Applying Operation

2779. Maximum Beauty of an Array After Applying Operation

Comments
3 min read
Algorithms Unleashed: Free Learning Resources for Aspiring Programmers

Algorithms Unleashed: Free Learning Resources for Aspiring Programmers

Comments
3 min read
What is a Turing Machine, exactly?

What is a Turing Machine, exactly?

Comments
2 min read
2981. Find Longest Special Substring That Occurs Thrice I

2981. Find Longest Special Substring That Occurs Thrice I

1
Comments
3 min read
Why Are Skip Lists Less Commonly Used Than BSTs?

Why Are Skip Lists Less Commonly Used Than BSTs?

Comments
4 min read
Print Queue

Print Queue

Comments
6 min read
Algorithm for Normalizing Current Data Using Historical Data to Eliminate Sound Noise

Algorithm for Normalizing Current Data Using Historical Data to Eliminate Sound Noise

Comments
2 min read
LeetCode Meditations: Non-overlapping Intervals

LeetCode Meditations: Non-overlapping Intervals

Comments
3 min read
Two Sum problem in Javascript

Two Sum problem in Javascript

Comments
3 min read
LeetCode Meditations: Merge Intervals

LeetCode Meditations: Merge Intervals

Comments
2 min read
Mastering Algorithms with Go: A Beginner's Guide to Sorting Small Data Sets 🔥

Mastering Algorithms with Go: A Beginner's Guide to Sorting Small Data Sets 🔥

7
Comments
4 min read
How to count the number of black and white squares on a chessboard?

How to count the number of black and white squares on a chessboard?

Comments
4 min read
1760. Minimum Limit of Balls in a Bag

1760. Minimum Limit of Balls in a Bag

Comments
4 min read
Minimum No. of arrows to burst balloons

Minimum No. of arrows to burst balloons

Comments
1 min read
Non overlapping intervals

Non overlapping intervals

Comments
1 min read
PerspectiveLearning: A Novel Approach to Multi-Algorithm Machine Learning

PerspectiveLearning: A Novel Approach to Multi-Algorithm Machine Learning

Comments
2 min read
2554. Maximum Number of Integers to Choose From a Range I

2554. Maximum Number of Integers to Choose From a Range I

Comments
5 min read
Ceres Search

Ceres Search

Comments
4 min read
New AI idea

New AI idea

Comments
1 min read
TIL: LIFO Solution and Regular Exprresion Techniques【CodeWars】

TIL: LIFO Solution and Regular Exprresion Techniques【CodeWars】

3
Comments
2 min read
Bubble Search... Swap (x, y);

Bubble Search... Swap (x, y);

Comments
1 min read
2825. Make String a Subsequence Using Cyclic Increments

2825. Make String a Subsequence Using Cyclic Increments

Comments
3 min read
2054. Two Best Non-Overlapping Events

2054. Two Best Non-Overlapping Events

2
Comments
3 min read
Mull It Over

Mull It Over

Comments
3 min read
Demystifying Algorithms: The Hourglass Sum Problem

Demystifying Algorithms: The Hourglass Sum Problem

Comments
3 min read
Demystifying Algorithms: Binary Representation

Demystifying Algorithms: Binary Representation

Comments
3 min read
LeetCode Meditations: Insert Interval

LeetCode Meditations: Insert Interval

Comments
3 min read
LeetCode Meditations — Chapter 13: Intervals

LeetCode Meditations — Chapter 13: Intervals

Comments
1 min read
From Data to Decisions: Understanding Machine Learning Algorithms💻

From Data to Decisions: Understanding Machine Learning Algorithms💻

Comments
4 min read
Asymptotic Analysis Exercises — Java

Asymptotic Analysis Exercises — Java

Comments
14 min read
LeetCode Meditations: Longest Increasing Subsequence

LeetCode Meditations: Longest Increasing Subsequence

Comments
2 min read
2097. Valid Arrangement of Pairs

2097. Valid Arrangement of Pairs

Comments
4 min read
Demystifying Algorithms: Doubly Linked Lists

Demystifying Algorithms: Doubly Linked Lists

Comments
4 min read
Demystifying Algorithms: Circular Linked Lists

Demystifying Algorithms: Circular Linked Lists

Comments
4 min read
Demystifying Algorithms: Singly Linked Lists

Demystifying Algorithms: Singly Linked Lists

Comments
3 min read
2290. Minimum Obstacle Removal to Reach Corner

2290. Minimum Obstacle Removal to Reach Corner

Comments
4 min read
3243. Shortest Distance After Road Addition Queries I

3243. Shortest Distance After Road Addition Queries I

Comments
5 min read
🚀 Top GitHub Repositories Every Software Engineer Should Know in 2025

🚀 Top GitHub Repositories Every Software Engineer Should Know in 2025

17
Comments
17 min read
2924. Find Champion II

2924. Find Champion II

Comments
4 min read
LeetCode Meditations: Word Break

LeetCode Meditations: Word Break

Comments
3 min read
3152. Special Array II

3152. Special Array II