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.
#006 DS&A - Stacks and queues

#006 DS&A - Stacks and queues

5
Comments
2 min read
I'm a Crude Software Engineer

I'm a Crude Software Engineer

6
Comments 2
3 min read
How to Design an Algorithm

How to Design an Algorithm

119
Comments 2
4 min read
Technique Sliding Windows algorithms

Technique Sliding Windows algorithms

7
Comments 2
2 min read
Kotlin Collections - sort

Kotlin Collections - sort

2
Comments
1 min read
The Container with the Most Water: Solving an Algorithm about Areas

The Container with the Most Water: Solving an Algorithm about Areas

7
Comments
5 min read
Longest Substring Without Repeating Characters

Longest Substring Without Repeating Characters

7
Comments
2 min read
#005 DS&A - Linked List

#005 DS&A - Linked List

7
Comments
4 min read
Dynamic Programming: 0-1 Knapsack problem

Dynamic Programming: 0-1 Knapsack problem

12
Comments
5 min read
#004 DS&A - Structures and Recursion

#004 DS&A - Structures and Recursion

5
Comments
4 min read
Shuffle the Array (Javascript)

Shuffle the Array (Javascript)

5
Comments 3
2 min read
Technique Two Pointers and memoization.

Technique Two Pointers and memoization.

7
Comments
2 min read
Using JavaScript's BigInt Data Type

Using JavaScript's BigInt Data Type

7
Comments
4 min read
The Avengers and the Knapsack Problem

The Avengers and the Knapsack Problem

4
Comments
10 min read
#003 DS&A - Pointer in C part 2

#003 DS&A - Pointer in C part 2

5
Comments
5 min read
#001 DS&A - Operators and Arrays

#001 DS&A - Operators and Arrays

9
Comments 7
3 min read
#002 DS&A - Pointer in C part 1

#002 DS&A - Pointer in C part 1

5
Comments
8 min read
Big O Time/Space Complexity Types Explained - Logarithmic, Polynomial, Exponential, and More

Big O Time/Space Complexity Types Explained - Logarithmic, Polynomial, Exponential, and More

2
Comments 1
1 min read
How to use the Minimum Spanning Tree of a Graph algorithm (Kruskal) for an airport problem.

How to use the Minimum Spanning Tree of a Graph algorithm (Kruskal) for an airport problem.

12
Comments 1
4 min read
Moving zeros

Moving zeros

5
Comments
3 min read
Leetcode 26: Remove Duplicates from Sorted Array

Leetcode 26: Remove Duplicates from Sorted Array

8
Comments
2 min read
5-Step Strategy You Can Use for Your Next Coding Interview

5-Step Strategy You Can Use for Your Next Coding Interview

60
Comments 2
3 min read
Learning Graphs Part 2: Traversal

Learning Graphs Part 2: Traversal

3
Comments
2 min read
Insertion Sort

Insertion Sort

2
Comments 1
2 min read
LeetCode: Longest Consecutive Sequence

LeetCode: Longest Consecutive Sequence

5
Comments
2 min read
Big O Notation for beginners!!

Big O Notation for beginners!!

254
Comments 19
5 min read
Bubble Sort

Bubble Sort

6
Comments 2
2 min read
Linear, Binary, and Interpolation Search Algorithms Explained

Linear, Binary, and Interpolation Search Algorithms Explained

67
Comments 1
3 min read
Studying with Leetcode

Studying with Leetcode

10
Comments
7 min read
Big O Notation

Big O Notation

259
Comments 19
6 min read
Basics of Genetic Algorithms

Basics of Genetic Algorithms

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

Intro to Data Structures + Algo [Part 3]

8
Comments
3 min read
Edabit.com My Favorite Resource for JavaScript Practice Problems

Edabit.com My Favorite Resource for JavaScript Practice Problems

15
Comments 1
3 min read
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

6
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
loading...