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.
Algorithms Problem Solving: Balanced Strings

Algorithms Problem Solving: Balanced Strings

9
Comments
2 min read
Understanding Selection Sort in Javascript.

Understanding Selection Sort in Javascript.

4
Comments 1
3 min read
Removing an Element in an Array In-Place

Removing an Element in an Array In-Place

22
Comments 2
5 min read
Algorithms Problem Solving: to Lower case

Algorithms Problem Solving: to Lower case

7
Comments
3 min read
how to master competitive programming?

how to master competitive programming?

24
Comments 2
1 min read
Algorithms Problem Solving: Tree to greater sum

Algorithms Problem Solving: Tree to greater sum

6
Comments
3 min read
Coding Interview Question: Fibonacci Number

Coding Interview Question: Fibonacci Number

10
Comments 1
2 min read
I found the most amazing resource for easing functions!

I found the most amazing resource for easing functions!

5
Comments
1 min read
Recursion and Space Complexity

Recursion and Space Complexity

31
Comments 7
2 min read
Number of Ways to Paint N × 3 Grid - a short saga

Number of Ways to Paint N × 3 Grid - a short saga

6
Comments 1
6 min read
Algorithms Problem Solving: Deepest Leaves Sum

Algorithms Problem Solving: Deepest Leaves Sum

6
Comments
3 min read
Algorithms Problem Solving: Reduce to zero

Algorithms Problem Solving: Reduce to zero

17
Comments 8
2 min read
Computing permutations of a list in F#

Computing permutations of a list in F#

8
Comments 3
3 min read
The ZigZag Conversion Problem

The ZigZag Conversion Problem

21
Comments 1
7 min read
Context free language parsing with Earley Algorithm

Context free language parsing with Earley Algorithm

11
Comments
6 min read
Algorithms Problem Solving: Even Number of Digits

Algorithms Problem Solving: Even Number of Digits

4
Comments
2 min read
Reversing a String in Place

Reversing a String in Place

12
Comments 1
4 min read
Algorithms Problem Solving: Equal Reversed Arrays

Algorithms Problem Solving: Equal Reversed Arrays

7
Comments
2 min read
Finding the Longest Common Prefix

Finding the Longest Common Prefix

12
Comments 2
5 min read
How I calculate capacity for Systems Design

How I calculate capacity for Systems Design

99
Comments 3
4 min read
Algorithms Problem Solving: Group the people

Algorithms Problem Solving: Group the people

5
Comments 1
3 min read
The big STL Algorithms tutorial: modifying sequence operations - remove calls

The big STL Algorithms tutorial: modifying sequence operations - remove calls

6
Comments
5 min read
Deleting a node in a Linked list, when you have access to only that node.

Deleting a node in a Linked list, when you have access to only that node.

6
Comments
1 min read
Algorithms Problem Solving: Cloned Binary Tree

Algorithms Problem Solving: Cloned Binary Tree

5
Comments
2 min read
The Longest Substring With No Repeating Characters

The Longest Substring With No Repeating Characters

11
Comments 1
6 min read
Algorithms Problem Solving: Ransom Note

Algorithms Problem Solving: Ransom Note

33
Comments 6
2 min read
Algorithms Problem Solving: Subtract product and sum

Algorithms Problem Solving: Subtract product and sum

6
Comments
2 min read
Another Algorithm: Rotate Array with JavaScript

Another Algorithm: Rotate Array with JavaScript

7
Comments
3 min read
Algorithms Problem Solving: Sum of nodes

Algorithms Problem Solving: Sum of nodes

8
Comments
4 min read
Floyd's Tortoise and Hare Algorithm: Finding a Cycle in a Linked List

Floyd's Tortoise and Hare Algorithm: Finding a Cycle in a Linked List

94
Comments 7
4 min read
Add Two Numbers Problems: How to Sum Two Linked Lists

Add Two Numbers Problems: How to Sum Two Linked Lists

24
Comments 3
6 min read
The Sieve of Eratosthenes: Counting the Number of Primes

The Sieve of Eratosthenes: Counting the Number of Primes

13
Comments
3 min read
Sorting algorithms in Rust

Sorting algorithms in Rust

28
Comments 2
3 min read
Solving "Title Case a Sentence" / freeCodeCamp Algorithm Challenges

Solving "Title Case a Sentence" / freeCodeCamp Algorithm Challenges

8
Comments 1
3 min read
Find The Vowels used in a String with JavaScript

Find The Vowels used in a String with JavaScript

17
Comments 4
1 min read
Space Complexity

Space Complexity

9
Comments
6 min read
Topological Sorting

Topological Sorting

16
Comments
3 min read
Time Complexity

Time Complexity

16
Comments 3
5 min read
Finding the Minimum Path Sum in a Grid with Dynamic Programming

Finding the Minimum Path Sum in a Grid with Dynamic Programming

8
Comments 1
7 min read
Solving "Boo who" / freeCodeCamp Algorithm Challenges

Solving "Boo who" / freeCodeCamp Algorithm Challenges

8
Comments
2 min read
Finding the Intersection of Two Arrays

Finding the Intersection of Two Arrays

8
Comments 1
3 min read
Sorting Algorithms

Sorting Algorithms

6
Comments
5 min read
Printing Staircase in JavaScript

Printing Staircase in JavaScript

13
Comments 4
2 min read
Flood Fill Algorithm

Flood Fill Algorithm

6
Comments
2 min read
Runtime Analysis: Big O Notation

Runtime Analysis: Big O Notation

10
Comments 1
3 min read
Sorting Characters in a String By Their Frequency

Sorting Characters in a String By Their Frequency

13
Comments 2
3 min read
Solving "Finders Keepers" / freeCodeCamp Algorithm Challenges

Solving "Finders Keepers" / freeCodeCamp Algorithm Challenges

6
Comments 1
3 min read
The Boyer-Moore Majority Vote Algorithm: Finding the Majority Element in an Array

The Boyer-Moore Majority Vote Algorithm: Finding the Majority Element in an Array

18
Comments 2
5 min read
Minumum Number Of Jumps [Python]

Minumum Number Of Jumps [Python]

4
Comments
2 min read
Algorithms Problem Solving: Jewels and Stones

Algorithms Problem Solving: Jewels and Stones

21
Comments 6
3 min read
Finding the Kth Smallest Element: Walking Through How To Use Depth First Search on a Binary Search Tree

Finding the Kth Smallest Element: Walking Through How To Use Depth First Search on a Binary Search Tree

11
Comments
6 min read
Palindrome Program in Java for Reversing String

Palindrome Program in Java for Reversing String

3
Comments
1 min read
Top Data Structures and Algorithms every developer must know

Top Data Structures and Algorithms every developer must know

411
Comments 4
18 min read
LeetCode: Odd Even Linked List

LeetCode: Odd Even Linked List

5
Comments
2 min read
LeetCode: Permutation in String

LeetCode: Permutation in String

8
Comments
2 min read
The Stock Span Problem: Using Stacks To Keep Track Of What's Been Seen

The Stock Span Problem: Using Stacks To Keep Track Of What's Been Seen

10
Comments 1
5 min read
LeetCode: Maximum Sum Circular Subarray

LeetCode: Maximum Sum Circular Subarray

7
Comments
5 min read
Backspace String Comparisons: Two Ways To Approach a Common Algorithm

Backspace String Comparisons: Two Ways To Approach a Common Algorithm

11
Comments 6
7 min read
Solving "Repeat a String Repeat a String" / FreeCodeCamp Algorithm Challenges

Solving "Repeat a String Repeat a String" / FreeCodeCamp Algorithm Challenges

6
Comments 1
2 min read
Finding the Middle of a Linked List

Finding the Middle of a Linked List

34
Comments 2
3 min read
loading...