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.
769. Max Chunks To Make Sorted

769. Max Chunks To Make Sorted

Comments
3 min read
1475. Final Prices With a Special Discount in a Shop

1475. Final Prices With a Special Discount in a Shop

Comments
4 min read
Struggling with Recursive Functions? Learn Through Everyday Scenarios

Struggling with Recursive Functions? Learn Through Everyday Scenarios

Comments
3 min read
The Kth factor of N - an O(sqrt n) algorithm

The Kth factor of N - an O(sqrt n) algorithm

1
Comments
4 min read
Building an Effective Machine Learning Pipeline for Fraud Prevention

Building an Effective Machine Learning Pipeline for Fraud Prevention

Comments
4 min read
Algorithmic Concepts in MongoDB Design

Algorithmic Concepts in MongoDB Design

Comments
2 min read
Sorting Algorithms || Python || Data Structures and Algorithms

Sorting Algorithms || Python || Data Structures and Algorithms

Comments
12 min read
3264. Final Array State After K Multiplication Operations I

3264. Final Array State After K Multiplication Operations I

Comments
3 min read
Algorithmic Horizons: Mastering Computational Problem-Solving

Algorithmic Horizons: Mastering Computational Problem-Solving

Comments
3 min read
LeetCode Meditations — Chapter 14: Bit Manipulation

LeetCode Meditations — Chapter 14: Bit Manipulation

1
Comments
6 min read
Big O Notations

Big O Notations

Comments
4 min read
Mastering DSA: 5 Beginner-Friendly Algorithms with Examples

Mastering DSA: 5 Beginner-Friendly Algorithms with Examples

Comments
3 min read
1792. Maximum Average Pass Ratio

1792. Maximum Average Pass Ratio

Comments
4 min read
2762. Continuous Subarrays

2762. Continuous Subarrays

Comments
3 min read
How to Create an In-Memory Cache

How to Create an In-Memory Cache

5
Comments
6 min read
Understanding the Bag ADT in Java: A Flexible Data Structure

Understanding the Bag ADT in Java: A Flexible Data Structure

Comments
7 min read
Merge Sort: Divide-and-Conquer for Large Datasets

Merge Sort: Divide-and-Conquer for Large Datasets

Comments
10 min read
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
Understanding Dijkstra's Algorithm: From Theory to Implementation

Understanding Dijkstra's Algorithm: From Theory to Implementation

Comments
6 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
Multiplying Large Decimal Numbers Using Fast Fourier Transform (FFT)

Multiplying Large Decimal Numbers Using Fast Fourier Transform (FFT)

Comments
7 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
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
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
225. Implement Stack using Queues

225. Implement Stack using Queues

Comments
1 min read
225. Implement Stack using Queues

225. Implement Stack using Queues

Comments
1 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
2182. Construct String With Repeat Limit

2182. Construct String With Repeat Limit

1
Comments
4 min read
Demystifying Algorithms: Binary Representation

Demystifying Algorithms: Binary Representation

Comments
3 min read
Bridge Repair

Bridge Repair

1
Comments
6 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: Circular Linked Lists

Demystifying Algorithms: Circular Linked Lists

Comments
4 min read
Demystifying Algorithms: Doubly Linked Lists

Demystifying Algorithms: Doubly 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
loading...