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.
LeetCode Meditations: Validate Binary Search Tree

LeetCode Meditations: Validate Binary Search Tree

Comments
3 min read
The Magical Algorithms Written by Two Old Men, Dominating the World

The Magical Algorithms Written by Two Old Men, Dominating the World

3
Comments
6 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
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
Graph Coloring Problem: Cracking Complexity with Elegant Solutions

Graph Coloring Problem: Cracking Complexity with Elegant Solutions

Comments
6 min read
Partition List | LeetCode | Java

Partition List | LeetCode | Java

10
Comments
1 min read
Discovering JavaScript's Hidden Secrets: Understanding Linked List as Data Structures.

Discovering JavaScript's Hidden Secrets: Understanding Linked List as Data Structures.

Comments
4 min read
Best time to buy and sell stock Solution

Best time to buy and sell stock Solution

6
Comments
2 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
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
C# algoritmik masalalar

C# algoritmik masalalar

1
Comments 1
2 min read
Insertion Sort in Java (With Intuition + Dry run + Code)

Insertion Sort in Java (With Intuition + Dry run + Code)

10
Comments 2
2 min read
What is a search problem?

What is a search problem?

Comments
3 min read
LeetCode Meditations: Linked List Cycle

LeetCode Meditations: Linked List Cycle

1
Comments
3 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
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: Remove Nth Node From the End of List

LeetCode Meditations: Remove Nth Node From the End of List

Comments
3 min read
LeetCode Meditations: Reorder List

LeetCode Meditations: Reorder List

Comments
4 min read
Solving Coding Problems using the Inclusion-Exclusion Principle and its variations

Solving Coding Problems using the Inclusion-Exclusion Principle and its variations

2
Comments
7 min read
LeetCode Meditations — Chapter 7: Trees

LeetCode Meditations — Chapter 7: Trees

2
Comments
9 min read
🤔 Quer entender algoritmos de busca e ordenação de forma interativa? 🎮✨

🤔 Quer entender algoritmos de busca e ordenação de forma interativa? 🎮✨

5
Comments
1 min read
LeetCode Meditations: Lowest Common Ancestor of a Binary Search Tree

LeetCode Meditations: Lowest Common Ancestor of a Binary Search Tree

1
Comments
4 min read
Data Structures and Algorithms (Part 3)

Data Structures and Algorithms (Part 3)

2
Comments
3 min read
When smart algorithms beat artificial intelligence -brute force

When smart algorithms beat artificial intelligence -brute force

Comments
4 min read
Leonhard Euler Meets Genome Sequencing

Leonhard Euler Meets Genome Sequencing

Comments
10 min read
Algorithm and Pseudocode

Algorithm and Pseudocode

Comments
2 min read
LeetCode Meditations: Merge K Sorted Lists

LeetCode Meditations: Merge K Sorted Lists

Comments
3 min read
Time, Space and Complexity

Time, Space and Complexity

3
Comments
13 min read
442. Find All Duplicates in an Array using Javascript on Leetcode | DSA with JS

442. Find All Duplicates in an Array using Javascript on Leetcode | DSA with JS

1
Comments
2 min read
LeetCode Meditations — Interlude: Fast & Slow Pointers

LeetCode Meditations — Interlude: Fast & Slow Pointers

5
Comments
2 min read
Big O Notation

Big O Notation

1
Comments
2 min read
Big O Notation

Big O Notation

1
Comments
2 min read
Priority Queue em Ruby

Priority Queue em Ruby

Comments
6 min read
The beginning of dsa-scripts

The beginning of dsa-scripts

Comments
2 min read
Big O Notation: A Simple Explanation With Examples

Big O Notation: A Simple Explanation With Examples

32
Comments 7
15 min read
Closures 🫂 Memoisation

Closures 🫂 Memoisation

2
Comments 2
2 min read
Solving DSA Problems. Eolymp 6254: Timebomb

Solving DSA Problems. Eolymp 6254: Timebomb

Comments
4 min read
Sorting Algorithms Performance Analysis

Sorting Algorithms Performance Analysis

1
Comments 1
1 min read
Path Sum | LeetCode | Java

Path Sum | LeetCode | Java

6
Comments
2 min read
Convertendo números binários para decimais com RUST!

Convertendo números binários para decimais com RUST!

6
Comments 2
6 min read
How to rank on Amazon

How to rank on Amazon

5
Comments
4 min read
Algorithms: The Invisible Code Shaping The World

Algorithms: The Invisible Code Shaping The World

9
Comments
7 min read
Search in a 2D matrix Leetcode Solution

Search in a 2D matrix Leetcode Solution

5
Comments
2 min read
Let's detect flowers! (with SageMaker and DeepLens)

Let's detect flowers! (with SageMaker and DeepLens)

5
Comments
4 min read
Check if the Sentence Is Pangram | LeetCode | Java

Check if the Sentence Is Pangram | LeetCode | Java

7
Comments
2 min read
Subarray Sum Equals K LeetCode

Subarray Sum Equals K LeetCode

Comments
1 min read
LeetCode Meditations: Merge Two Sorted Lists

LeetCode Meditations: Merge Two Sorted Lists

Comments
3 min read
Finding Nth Fibonacci Number in Java

Finding Nth Fibonacci Number in Java

Comments
2 min read
Snowverload

Snowverload

Comments
1 min read
Never Tell Me The Odds

Never Tell Me The Odds

Comments
7 min read
How To Find The First Occurrence of a string

How To Find The First Occurrence of a string

5
Comments
2 min read
loading...