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.
Valid Parentheses Problem

Valid Parentheses Problem

8
Comments
2 min read
Interview Cake's Full Course is $29 for 12 months of access

Interview Cake's Full Course is $29 for 12 months of access

6
Comments
1 min read
Common Sorting Algorithms in JavaScript

Common Sorting Algorithms in JavaScript

78
Comments 11
7 min read
Max Consecutive Ones (Javascript)

Max Consecutive Ones (Javascript)

22
Comments 1
2 min read
Bubble Sort Implementation in Python

Bubble Sort Implementation in Python

37
Comments 2
2 min read
Find the Length of the Longest Substring Without Repeating Characters (in JavaScript)

Find the Length of the Longest Substring Without Repeating Characters (in JavaScript)

7
Comments 4
4 min read
The big STL Algorithms tutorial: modifying sequence operations - rotate functions

The big STL Algorithms tutorial: modifying sequence operations - rotate functions

6
Comments
5 min read
Approaching Problems like a Software Engineer

Approaching Problems like a Software Engineer

39
Comments 2
5 min read
Coding Interview Question: Kadane algorithm(maximum subarray sum) explained in 3 min

Coding Interview Question: Kadane algorithm(maximum subarray sum) explained in 3 min

5
Comments
3 min read
[Part - 2: Array] Questions on Array

[Part - 2: Array] Questions on Array

6
Comments
2 min read
Leetcode 1346: Check If N and Its Double Exist

Leetcode 1346: Check If N and Its Double Exist

7
Comments
2 min read
Image sorting visualizer

Image sorting visualizer

3
Comments
1 min read
Intro to Data Structures + Algo [Part 2]

Intro to Data Structures + Algo [Part 2]

7
Comments
3 min read
Understand Data Structure algorithms easily

Understand Data Structure algorithms easily

3
Comments
1 min read
When Recursion Comes to Rescue

When Recursion Comes to Rescue

13
Comments 6
3 min read
Internal Implementations of List.extend() and List.append() operations in Python

Internal Implementations of List.extend() and List.append() operations in Python

10
Comments
1 min read
Find the First Duplicate in a JavaScript Array

Find the First Duplicate in a JavaScript Array

54
Comments 5
4 min read
LeetCode:442. Find All Duplicates in an Array

LeetCode:442. Find All Duplicates in an Array

5
Comments
1 min read
LeetCode:680. Valid Palindrome II

LeetCode:680. Valid Palindrome II

6
Comments
1 min read
Adventures With Algorithms

Adventures With Algorithms

13
Comments
4 min read
Sieve of Eratosthenes

Sieve of Eratosthenes

16
Comments 1
1 min read
Practice Problem: Water Volume

Practice Problem: Water Volume

6
Comments
3 min read
Solving "Map the Debris" / freeCodeCamp Algorithm Challenges

Solving "Map the Debris" / freeCodeCamp Algorithm Challenges

7
Comments 1
3 min read
LeetCode:125. Valid Palindrome

LeetCode:125. Valid Palindrome

4
Comments
1 min read
LeetCode 541. Reverse String II (Javascript solution)

LeetCode 541. Reverse String II (Javascript solution)

8
Comments 2
1 min read
Solving "Make a Person" / freeCodeCamp Algorithm Challenges

Solving "Make a Person" / freeCodeCamp Algorithm Challenges

5
Comments
4 min read
MVP For a Learning Data Structures Project, Come Take A Look!

MVP For a Learning Data Structures Project, Come Take A Look!

2
Comments 2
1 min read
Solving "Arguments Optional" / freeCodeCamp Algorithm Challenges

Solving "Arguments Optional" / freeCodeCamp Algorithm Challenges

7
Comments 3
3 min read
Linear vs Binary Search Algorithms

Linear vs Binary Search Algorithms

6
Comments
3 min read
I learnt to shuffle an array and an important lesson.

I learnt to shuffle an array and an important lesson.

5
Comments
2 min read
Intro to Data Structures + Algo [Part 1]

Intro to Data Structures + Algo [Part 1]

67
Comments 3
4 min read
10001st prime - Project Euler Soution

10001st prime - Project Euler Soution

24
Comments 7
1 min read
Complexity & Big0 notation

Complexity & Big0 notation

7
Comments
2 min read
Code Snippet Series: Get Unique Values from Array

Code Snippet Series: Get Unique Values from Array

5
Comments 4
1 min read
Solving "Binary Agents" / freeCodeCamp Algorithm Challenges

Solving "Binary Agents" / freeCodeCamp Algorithm Challenges

11
Comments 1
3 min read
Day 1/31: Detect Capital

Day 1/31: Detect Capital

5
Comments 1
3 min read
Leetcode: 520. Detect Capital

Leetcode: 520. Detect Capital

5
Comments
5 min read
Zobrist Hashing

Zobrist Hashing

3
Comments
5 min read
Code Snippet Series: Remove Junk from Array

Code Snippet Series: Remove Junk from Array

27
Comments 6
1 min read
ZigZag (Spiral) Level Order Traversal 🔥 | Amazon Interview Question

ZigZag (Spiral) Level Order Traversal 🔥 | Amazon Interview Question

12
Comments
2 min read
Sum square difference - Project Euler Solution

Sum square difference - Project Euler Solution

23
Comments
1 min read
Smallest multiple - Project Euler Solution

Smallest multiple - Project Euler Solution

13
Comments
1 min read
Largest palindrome product - Project Euler Solution

Largest palindrome product - Project Euler Solution

10
Comments
1 min read
Algorithms: Calculating Combination in Ruby

Algorithms: Calculating Combination in Ruby

12
Comments 2
3 min read
Solving Leetcode's #1 Problem

Solving Leetcode's #1 Problem

6
Comments
3 min read
Check for Armstrong Number

Check for Armstrong Number

15
Comments
1 min read
Two sum - Leet Code Solution

Two sum - Leet Code Solution

14
Comments
1 min read
Caesar's Cipher

Caesar's Cipher

10
Comments 2
2 min read
Solving "Steamroller" / freeCodeCamp Algorithm Challenges

Solving "Steamroller" / freeCodeCamp Algorithm Challenges

7
Comments
3 min read
Let's solve LeetCode - Is Subsequence

Let's solve LeetCode - Is Subsequence

5
Comments
2 min read
Solving "Drop it" / freeCodeCamp Algorithm Challenges

Solving "Drop it" / freeCodeCamp Algorithm Challenges

3
Comments
4 min read
HackerRank Algorithms Solutions using Python and C++(CPP)

HackerRank Algorithms Solutions using Python and C++(CPP)

17
Comments 1
5 min read
Solving "Smallest Common Multiple" / freeCodeCamp Algorithm Challenges

Solving "Smallest Common Multiple" / freeCodeCamp Algorithm Challenges

10
Comments
4 min read
Solving "Sum All Primes" / freeCodeCamp Algorithm Challenges

Solving "Sum All Primes" / freeCodeCamp Algorithm Challenges

7
Comments 1
4 min read
An Analogy for Big O Notation

An Analogy for Big O Notation

13
Comments
7 min read
Java: Arrays!

Java: Arrays!

13
Comments
2 min read
Let's solve LeetCode! Two Sum

Let's solve LeetCode! Two Sum

5
Comments
2 min read
Solving "Sum All Odd Fibonacci Numbers" / freeCodeCamp Algorithm Challenges

Solving "Sum All Odd Fibonacci Numbers" / freeCodeCamp Algorithm Challenges

9
Comments 3
5 min read
Implementing javascript task runner

Implementing javascript task runner

7
Comments 1
5 min read
Sliding Window Technique🔥

Sliding Window Technique🔥

91
Comments 3
4 min read
loading...