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.
129. Sum Root to Leaf Numbers

129. Sum Root to Leaf Numbers

Comments
3 min read
2000. Reverse Prefix of Word

2000. Reverse Prefix of Word

Comments
2 min read
Leonhard Euler Meets Genome Sequencing

Leonhard Euler Meets Genome Sequencing

Comments
10 min read
678. Valid Parenthesis String

678. Valid Parenthesis String

Comments
3 min read
1249. Minimum Remove to Make Valid Parentheses

1249. Minimum Remove to Make Valid Parentheses

Comments
2 min read
950. Reveal Cards In Increasing Order

950. Reveal Cards In Increasing Order

Comments
2 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
1915. Number of Wonderful Substrings

1915. Number of Wonderful Substrings

Comments
2 min read
Explain Algorithm Complexity Like I'm 10

Explain Algorithm Complexity Like I'm 10

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

Best approach to find duplicates in an array

6
Comments
2 min read
Flatten Binary Tree to Linked List | LeetCode | Java

Flatten Binary Tree to Linked List | LeetCode | Java

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

Best approach to find duplicates in an array

Comments
2 min read
1544. Make The String Great

1544. Make The String Great

Comments
2 min read
1614. Maximum Nesting Depth of the Parentheses

1614. Maximum Nesting Depth of the Parentheses

Comments
2 min read
2997. Minimum Number of Operations to Make Array XOR Equal to K

2997. Minimum Number of Operations to Make Array XOR Equal to K

Comments
2 min read
C# Priority Queue

C# Priority Queue

8
Comments
3 min read
Recapping DSA

Recapping DSA

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

LeetCode Meditations: Kth Smallest Element in a BST

Comments
3 min read
834. Sum of Distances in Tree

834. Sum of Distances in Tree

Comments
3 min read
2073. Time Needed to Buy Tickets

2073. Time Needed to Buy Tickets

Comments
2 min read
1700. Number of Students Unable to Eat Lunch

1700. Number of Students Unable to Eat Lunch

Comments
2 min read
514. Freedom Trail

514. Freedom Trail

1
Comments
4 min read
Maximum Number of Vowels in a Substring of Given Length | LeetCode | Java

Maximum Number of Vowels in a Substring of Given Length | LeetCode | Java

11
Comments
1 min read
LeetCode Meditations: Validate Binary Search Tree

LeetCode Meditations: Validate Binary Search Tree

Comments
3 min read
1289. Minimum Falling Path Sum II

1289. Minimum Falling Path Sum II

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

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

5
Comments
6 min read
2370. Longest Ideal Subsequence

2370. Longest Ideal Subsequence

Comments
2 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.

5
Comments
4 min read
Big O Notation

Big O Notation

1
Comments
2 min read
Best time to buy and sell stock Solution

Best time to buy and sell stock Solution

6
Comments
2 min read
1137. N-th Tribonacci Number

1137. N-th Tribonacci Number

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

LeetCode Meditations: Binary Tree Level Order Traversal

Comments
3 min read
The beginning of dsa-scripts

The beginning of dsa-scripts

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

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

14
Comments 2
2 min read
310. Minimum Height Trees

310. Minimum Height Trees

1
Comments
3 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
1971. Find if Path Exists in Graph

1971. Find if Path Exists in Graph

1
Comments
2 min read
752. Open the Lock

752. Open the Lock

Comments
4 min read
LeetCode Meditations: Subtree of Another Tree

LeetCode Meditations: Subtree of Another Tree

Comments
3 min read
PlanificaciĂłn de Procesos (C++)

PlanificaciĂłn de Procesos (C++)

1
Comments
16 min read
Graph Coloring Problem: Cracking Complexity with Elegant Solutions

Graph Coloring Problem: Cracking Complexity with Elegant Solutions

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

Big O Notation: A Simple Explanation With Examples

39
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
LeetCode Meditations: Same Tree

LeetCode Meditations: Same Tree

1
Comments
2 min read
1992. Find All Groups of Farmland

1992. Find All Groups of Farmland

Comments
3 min read
Algorithm and Pseudocode

Algorithm and Pseudocode

Comments
2 min read
Sorting Algorithms Performance Analysis

Sorting Algorithms Performance Analysis

1
Comments 1
1 min read
200. Number of Islands

200. Number of Islands

1
Comments
3 min read
Path Sum | LeetCode | Java

Path Sum | LeetCode | Java

6
Comments
1 min read
LeetCode Meditations: Maximum Depth of Binary Tree

LeetCode Meditations: Maximum Depth of Binary Tree

2
Comments
3 min read
463. Island Perimeter

463. Island Perimeter

1
Comments
3 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
Time, Space and Complexity

Time, Space and Complexity

3
Comments
13 min read
988. Smallest String Starting From Leaf

988. Smallest String Starting From Leaf

1
Comments
2 min read
Search in a 2D matrix Leetcode Solution

Search in a 2D matrix Leetcode Solution

6
Comments
2 min read
Check if the Sentence Is Pangram | LeetCode | Java

Check if the Sentence Is Pangram | LeetCode | Java

9
Comments
1 min read
623. Add One Row to Tree

623. Add One Row to Tree

Comments
4 min read
LeetCode Meditations: Invert Binary Tree

LeetCode Meditations: Invert Binary Tree

1
Comments
2 min read
loading...