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 Day24 Greedy Algorithms Part 2

LeetCode Day24 Greedy Algorithms Part 2

Comments
5 min read
day 8-9|String|leetcode 344, 541, kama 54,151,kama 55,28, 459

day 8-9|String|leetcode 344, 541, kama 54,151,kama 55,28, 459

Comments
5 min read
Exploring Binary Trees (in C++)

Exploring Binary Trees (in C++)

1
Comments
6 min read
2053. Kth Distinct String in an Array

2053. Kth Distinct String in an Array

Comments
3 min read
Problem Solving Patterns

Problem Solving Patterns

10
Comments 2
3 min read
1508. Range Sum of Sorted Subarray Sums

1508. Range Sum of Sorted Subarray Sums

Comments
3 min read
Highly Recommended: 'Quick Start with Algorithm' Course

Highly Recommended: 'Quick Start with Algorithm' Course

1
Comments
3 min read
LeetCode Day22 BackTracking Part 4

LeetCode Day22 BackTracking Part 4

1
Comments
3 min read
LeetCode Day26 Greedy Algorithms Part 4

LeetCode Day26 Greedy Algorithms Part 4

Comments
5 min read
1460. Make Two Arrays Equal by Reversing Subarrays

1460. Make Two Arrays Equal by Reversing Subarrays

Comments
3 min read
Build an Advanced Dice Game with freeCodeCamp

Build an Advanced Dice Game with freeCodeCamp

2
Comments 2
1 min read
2134 Minimum Swaps to Group All 1's Together II

2134 Minimum Swaps to Group All 1's Together II

2
Comments
3 min read
Computational Geometry, Design and Analysis of Algorithms

Computational Geometry, Design and Analysis of Algorithms

5
Comments
5 min read
Strings, Design and Analysis of Algorithms

Strings, Design and Analysis of Algorithms

5
Comments
4 min read
Divide and Conquer, Design and Analysis of Algorithms

Divide and Conquer, Design and Analysis of Algorithms

Comments
7 min read
Building a simple word counting parser using pari.

Building a simple word counting parser using pari.

Comments
2 min read
How to sort correctly arrays in JavaScript?

How to sort correctly arrays in JavaScript?

3
Comments
1 min read
2678. Number of Senior Citizens

2678. Number of Senior Citizens

1
Comments
3 min read
Recursion vs Loop: a low-level analysis

Recursion vs Loop: a low-level analysis

Comments 2
4 min read
LeetCode Day20 BackTracking Part 2

LeetCode Day20 BackTracking Part 2

Comments
3 min read
LeetCode Problem 121: Best Time to Buy and Sell Stock

LeetCode Problem 121: Best Time to Buy and Sell Stock

1
Comments
3 min read
LeetCode Day19 BackTracking Part 1

LeetCode Day19 BackTracking Part 1

Comments
4 min read
Algorithms Are Language Independent !!

Algorithms Are Language Independent !!

1
Comments
3 min read
1653. Minimum Deletions to Make String Balanced

1653. Minimum Deletions to Make String Balanced

1
Comments
2 min read
alternate way of doing word split/phrase segmentation in python

alternate way of doing word split/phrase segmentation in python

Comments
1 min read
LeetCode Day18 Binary Tree Part 8

LeetCode Day18 Binary Tree Part 8

Comments
5 min read
LeetCode Meditations — Chapter 12: Dynamic Programming

LeetCode Meditations — Chapter 12: Dynamic Programming

1
Comments
4 min read
How can learning algorithms make your programming journey easier?

How can learning algorithms make your programming journey easier?

Comments
3 min read
Interviewers love to ask for real-life examples of these algorithms.

Interviewers love to ask for real-life examples of these algorithms.

2
Comments
3 min read
Optimizing String Concatenation with StringBuilder

Optimizing String Concatenation with StringBuilder

3
Comments
2 min read
1395. Count Number of Teams

1395. Count Number of Teams

2
Comments
7 min read
What is a List?

What is a List?

2
Comments
3 min read
LeetCode Day 17 Binary Tree Part 7

LeetCode Day 17 Binary Tree Part 7

Comments
2 min read
Number of Closed Islands | LeetCode

Number of Closed Islands | LeetCode

1
Comments
1 min read
2045. Second Minimum Time to Reach Destination

2045. Second Minimum Time to Reach Destination

2
Comments
4 min read
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
2418. Sort the People

2418. Sort the People

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

2392. Build a Matrix With Conditions

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