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.
3113. Find the Number of Subarrays Where Boundary Elements Are Maximum

3113. Find the Number of Subarrays Where Boundary Elements Are Maximum

Comments
2 min read
2530. Maximal Score After Applying K Operations

2530. Maximal Score After Applying K Operations

Comments
2 min read
3122. Minimum Number of Operations to Satisfy Conditions

3122. Minimum Number of Operations to Satisfy Conditions

Comments
2 min read
3123. Find Edges in Shortest Paths

3123. Find Edges in Shortest Paths

Comments
2 min read
2570. Merge Two 2D Arrays by Summing Values solution

2570. Merge Two 2D Arrays by Summing Values solution

Comments
2 min read
3. Longest Substring Without Repeating Characters

3. Longest Substring Without Repeating Characters

Comments
1 min read
786. K-th Smallest Prime Fraction

786. K-th Smallest Prime Fraction

Comments
2 min read
3121. Count the Number of Special Characters II

3121. Count the Number of Special Characters II

Comments
1 min read
DSA for Data Scientists

DSA for Data Scientists

Comments
36 min read
Primitive Data Structure

Primitive Data Structure

Comments
1 min read
Algorithms And Data Structures Interview Question - Recursion

Algorithms And Data Structures Interview Question - Recursion

Comments
5 min read
Fisher Yates - How the popular shuffling Algorithm Works - Under the hood series

Fisher Yates - How the popular shuffling Algorithm Works - Under the hood series

1
Comments 1
5 min read
Journey to the centre of CPU: Building an ALU

Journey to the centre of CPU: Building an ALU

Comments
3 min read
3075. Maximize Happiness of Selected Children

3075. Maximize Happiness of Selected Children

Comments
2 min read
2. Add Two Numbers

2. Add Two Numbers

Comments
2 min read
[LeetCode] Concatenation of Array with Modular Arithmetic

[LeetCode] Concatenation of Array with Modular Arithmetic

Comments
2 min read
LeetCode Meditations: Serialize and Deserialize Binary Tree

LeetCode Meditations: Serialize and Deserialize Binary Tree

Comments
6 min read
Discovering JavaScript's Hidden Secrets: Understanding Graphs as a Non Linear Data Structure.

Discovering JavaScript's Hidden Secrets: Understanding Graphs as a Non Linear Data Structure.

5
Comments
4 min read
Random Forest Algorithm in Machine Learning

Random Forest Algorithm in Machine Learning

Comments
1 min read
Best approach to find duplicates in an array

Best approach to find duplicates in an array

Comments
2 min read
LeetCode Meditations: Kth Smallest Element in a BST

LeetCode Meditations: Kth Smallest Element in a BST

Comments
3 min read
Dry running the code to understand the flow

Dry running the code to understand the flow

Comments
2 min read
LeetCode Meditations: Validate Binary Search Tree

LeetCode Meditations: Validate Binary Search Tree

Comments
3 min read
C# Priority Queue

C# Priority Queue

1
Comments
3 min read
506. Relative Ranks

506. Relative Ranks

Comments
2 min read
1. Two Sum

1. Two Sum

Comments
1 min read
Lógica de programação

Lógica de programação

Comments
1 min read
LeetCode Meditations: Binary Tree Level Order Traversal

LeetCode Meditations: Binary Tree Level Order Traversal

Comments
3 min read
LeetCode Meditations: Subtree of Another Tree

LeetCode Meditations: Subtree of Another Tree

Comments
3 min read
Задача с собеседования в Google. 939. Minimum Area Rectangle

Задача с собеседования в Google. 939. Minimum Area Rectangle

2
Comments
2 min read
LeetCode Meditations: Maximum Depth of Binary Tree

LeetCode Meditations: Maximum Depth of Binary Tree

Comments
3 min read
LeetCode Meditations: Same Tree

LeetCode Meditations: Same Tree

1
Comments
2 min read
Quantum Computing: Definition, How It Works and Example

Quantum Computing: Definition, How It Works and Example

Comments
1 min read
445. Add Two Numbers II

445. Add Two Numbers II

Comments
2 min read
2816. Double a Number Represented as a Linked List

2816. Double a Number Represented as a Linked List

Comments
1 min read
Algorithm Techniques: Sliding Window

Algorithm Techniques: Sliding Window

1
Comments
1 min read
Designing and Implementing a Microsoft Azure AI Solution

Designing and Implementing a Microsoft Azure AI Solution

Comments
1 min read
LeetCode Meditations: Invert Binary Tree

LeetCode Meditations: Invert Binary Tree

1
Comments
2 min read
How to Visualize RRT* Algorithm

How to Visualize RRT* Algorithm

1
Comments
2 min read
C# algoritmik masalalar

C# algoritmik masalalar

1
Comments 1
2 min read
LeetCode Meditations: Binary Tree Maximum Path Sum

LeetCode Meditations: Binary Tree Maximum Path Sum

5
Comments
4 min read
Demystifying Heuristic Search Algorithms

Demystifying Heuristic Search Algorithms

3
Comments
5 min read
What is a search problem?

What is a search problem?

Comments
3 min read
Number of Wonderful Substrings Solution

Number of Wonderful Substrings Solution

5
Comments 1
2 min read
LeetCode Meditations: Linked List Cycle

LeetCode Meditations: Linked List Cycle

1
Comments
3 min read
LeetCode Meditations: Construct Binary Tree from Preorder and Inorder Traversal

LeetCode Meditations: Construct Binary Tree from Preorder and Inorder Traversal

2
Comments
4 min read
leetcode: Median of Two Sorted Arrays Problem in C++

leetcode: Median of Two Sorted Arrays Problem in C++

1
Comments
3 min read
Demystifying Sorting Algorithms: Making Order Out of Chaos

Demystifying Sorting Algorithms: Making Order Out of Chaos

Comments
3 min read
Calculate Module of negative values FASTER.

Calculate Module of negative values FASTER.

1
Comments
1 min read
Recapping DSA

Recapping DSA

Comments
6 min read
K-Nearest Neighbor(K-NN) Algorithms for Machine Learning

K-Nearest Neighbor(K-NN) Algorithms for Machine Learning

Comments
1 min read
Algorithms: a brief recapitulation for you (and me)

Algorithms: a brief recapitulation for you (and me)

Comments
3 min read
LeetCode Meditations: Reorder List

LeetCode Meditations: Reorder List

Comments
4 min read
2487. Remove Nodes From Linked List

2487. Remove Nodes From Linked List

Comments
1 min read
Don’t Get Salted: A Beginner’s Guide to Hashing Algorithms

Don’t Get Salted: A Beginner’s Guide to Hashing Algorithms

Comments
2 min read
404. Sum of Left Leaves

404. Sum of Left Leaves

Comments
1 min read
How To Reverse A Linked List Recursively In Python

How To Reverse A Linked List Recursively In Python

7
Comments 2
2 min read
881. Boats to Save People

881. Boats to Save People

Comments
1 min read
237. Delete Node in a Linked List

237. Delete Node in a Linked List

Comments
2 min read
85. Maximal Rectangle

85. Maximal Rectangle

1
Comments
1 min read
loading...