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.
Kadane's Algorithm & The Maximum Subarray Problem

Kadane's Algorithm & The Maximum Subarray Problem

56
Comments 3
5 min read
And then the interviewer asks, "Can you do this with less code?"

And then the interviewer asks, "Can you do this with less code?"

107
Comments 25
3 min read
Fenwick Tree (Binary Indexed Tree)

Fenwick Tree (Binary Indexed Tree)

18
Comments
5 min read
Finding the Only Single Number in an Array

Finding the Only Single Number in an Array

20
Comments 4
3 min read
The Happy Number Problem

The Happy Number Problem

82
Comments 9
4 min read
Making an algorithm 15x faster without parallelism

Making an algorithm 15x faster without parallelism

10
Comments
8 min read
Loops are bad, algorithms are good! Aren't they?

Loops are bad, algorithms are good! Aren't they?

12
Comments 6
6 min read
Solving "Confirm the Ending" / FreeCodeCamp Algorithm Challenges

Solving "Confirm the Ending" / FreeCodeCamp Algorithm Challenges

7
Comments
3 min read
Anagrams in JavaScript(simple)

Anagrams in JavaScript(simple)

5
Comments 2
1 min read
Breaking Down Project Euler #1: Multiples of 3 and 5

Breaking Down Project Euler #1: Multiples of 3 and 5

15
Comments
5 min read
LeetCode: Majority Element

LeetCode: Majority Element

9
Comments 1
3 min read
Disjoint-Set/Union-Find Data Structure

Disjoint-Set/Union-Find Data Structure

7
Comments
5 min read
String Searching Using Rabin-Karp

String Searching Using Rabin-Karp

6
Comments
4 min read
Get Started Learning Data Structures & Algorithms

Get Started Learning Data Structures & Algorithms

6
Comments
3 min read
Sorting Algorithms in Python

Sorting Algorithms in Python

27
Comments
6 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.