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.
Trie

Trie

Comments
7 min read
LeetCode Meditations: Decode Ways

LeetCode Meditations: Decode Ways

2
Comments
4 min read
2976. Minimum Cost to Convert String I

2976. Minimum Cost to Convert String I

1
Comments
4 min read
Решение задачи с собеседования Longest Substring Without Repeating Characters [+ ВИДЕО]

Решение задачи с собеседования Longest Substring Without Repeating Characters [+ ВИДЕО]

2
Comments
1 min read
1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance

1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance

3
Comments
3 min read
Demystifying Big O Notation: A Guide For Software Engineers

Demystifying Big O Notation: A Guide For Software Engineers

4
Comments
2 min read
Rich Text Trimming Algorithm

Rich Text Trimming Algorithm

1
Comments
5 min read
912. Sort an Array

912. Sort an Array

2
Comments
187 min read
2392. Build a Matrix With Conditions

2392. Build a Matrix With Conditions

2
Comments
4 min read
2418. Sort the People

2418. Sort the People

2
Comments
2 min read
Bridging Theory and Practice: The Effect of Hardware on Algorithm Efficiency

Bridging Theory and Practice: The Effect of Hardware on Algorithm Efficiency

Comments
3 min read
Intersection of Two Sorted Arrays

Intersection of Two Sorted Arrays

Comments
4 min read
1605. Find Valid Matrix Given Row and Column Sums

1605. Find Valid Matrix Given Row and Column Sums

3
Comments
3 min read
1380. Lucky Numbers in a Matrix

1380. Lucky Numbers in a Matrix

2
Comments
3 min read
2191. Sort the Jumbled Numbers

2191. Sort the Jumbled Numbers

2
Comments
3 min read
1530. Number of Good Leaf Nodes Pairs

1530. Number of Good Leaf Nodes Pairs

2
Comments
3 min read
LeetCode Day16 Binary Tree Part 6

LeetCode Day16 Binary Tree Part 6

1
Comments
5 min read
Задача с собеседования в Microsoft: Наибольшая подстрока без повторяющихся символов.

Задача с собеседования в Microsoft: Наибольшая подстрока без повторяющихся символов.

3
Comments 1
2 min read
The Gemika's Magical Guide to Sorting Hogwarts Students using the Decision Tree Algorithm (Part #5)

The Gemika's Magical Guide to Sorting Hogwarts Students using the Decision Tree Algorithm (Part #5)

6
Comments
10 min read
The Gemika's Magical Guide to Sorting Hogwarts Students using the Decision Tree Algorithm (Part #6)

The Gemika's Magical Guide to Sorting Hogwarts Students using the Decision Tree Algorithm (Part #6)

2
Comments
11 min read
1636. Sort Array by Increasing Frequency

1636. Sort Array by Increasing Frequency

2
Comments
2 min read
Union of Two Sorted Arrays

Union of Two Sorted Arrays

1
Comments
4 min read
How to Detect the Starting Node of a Cycle in a Linked List

How to Detect the Starting Node of a Cycle in a Linked List

1
Comments
3 min read
Elevate Your Algorithmic Mastery with the 'Algorithm Practice Challenges' Course

Elevate Your Algorithmic Mastery with the 'Algorithm Practice Challenges' Course

Comments
3 min read
Min Stack | LeetCode | Java

Min Stack | LeetCode | Java

3
Comments 2
1 min read
LeetCode Meditations: Course Schedule

LeetCode Meditations: Course Schedule

1
Comments
5 min read
LeetCode Day 13 Binary Tree Part 3

LeetCode Day 13 Binary Tree Part 3

Comments
2 min read
How to Right Rotate an Array by D Positions

How to Right Rotate an Array by D Positions

Comments
3 min read
Day 3-4| Linked List: leetcode 203,706,206,24,19,02.07,142 in Cpp

Day 3-4| Linked List: leetcode 203,706,206,24,19,02.07,142 in Cpp

2
Comments
7 min read
How to Left Rotate an Array by D Positions

How to Left Rotate an Array by D Positions

Comments
3 min read
Algorithm Complexity with Go — Linear Time Complexity O(n)

Algorithm Complexity with Go — Linear Time Complexity O(n)

Comments 1
4 min read
LeetCode Day28 Dynamic Programming Part1

LeetCode Day28 Dynamic Programming Part1

2
Comments
4 min read
big 0 notation: laundry day

big 0 notation: laundry day

7
Comments
5 min read
Algorithm -- Array

Algorithm -- Array

1
Comments
5 min read
Search Algorithms

Search Algorithms

Comments
2 min read
LeetCode Day 35 Dynamic Programming Part 9

LeetCode Day 35 Dynamic Programming Part 9

3
Comments
4 min read
1105. Filling Bookcase Shelves

1105. Filling Bookcase Shelves

3
Comments 1
3 min read
1110. Delete Nodes And Return Forest

1110. Delete Nodes And Return Forest

1
Comments
2 min read
LeetCode Day7 String Part.1

LeetCode Day7 String Part.1

Comments
3 min read
GitHub Repositories Every Software Engineer Should Know

GitHub Repositories Every Software Engineer Should Know

1925
Comments 38
3 min read
Branch and Bound Algorithm to Solve the Traveling Salesman Problem

Branch and Bound Algorithm to Solve the Traveling Salesman Problem

Comments
4 min read
LeetCode Meditations: House Robber II

LeetCode Meditations: House Robber II

1
Comments
3 min read
LeetCode Day6 HashTable Part2

LeetCode Day6 HashTable Part2

Comments
5 min read
2096. Step-By-Step Directions From a Binary Tree Node to Another

2096. Step-By-Step Directions From a Binary Tree Node to Another

1
Comments
3 min read
2196. Create Binary Tree From Descriptions

2196. Create Binary Tree From Descriptions

2
Comments
3 min read
LeetCode Meditations: Number of Islands

LeetCode Meditations: Number of Islands

1
Comments
7 min read
Unleash Your Algorithmic Prowess: Explore the Best Free Programming Resources 🔍

Unleash Your Algorithmic Prowess: Explore the Best Free Programming Resources 🔍

1
Comments
4 min read
LeetCode Day33 Dynamic Programming

LeetCode Day33 Dynamic Programming

2
Comments
3 min read
LeetCode Day25 Greedy Algorithms Part 3

LeetCode Day25 Greedy Algorithms Part 3

Comments
6 min read
Alpha-Beta Pruning in AI

Alpha-Beta Pruning in AI

Comments
1 min read
Number of Provinces | LeetCode

Number of Provinces | LeetCode

1
Comments
1 min read
Fun and Fantastic Algorithms Every Developer Should Know

Fun and Fantastic Algorithms Every Developer Should Know

6
Comments
3 min read
Leetcode Diary: Move Zeros

Leetcode Diary: Move Zeros

Comments
2 min read
726. Number of Atoms

726. Number of Atoms

1
Comments
3 min read
Partition with given difference

Partition with given difference

1
Comments
4 min read
2751. Robot Collisions

2751. Robot Collisions

3
Comments
4 min read
Day 0: Data Types Solution

Day 0: Data Types Solution

Comments
2 min read
1717. Maximum Score From Removing Substrings

1717. Maximum Score From Removing Substrings

1
Comments
3 min read
LeetCode Meditations: Longest Palindromic Substring

LeetCode Meditations: Longest Palindromic Substring

3
Comments
3 min read
Solving the Pass The Pillow Problem in C# With 2 Easy Algorithms

Solving the Pass The Pillow Problem in C# With 2 Easy Algorithms

6
Comments 1
3 min read
loading...