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: 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

12
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

35
Comments 2
3 min read
Merge Sort Algorithm - Algorithm Design and Analysis 05:00

Merge Sort Algorithm - Algorithm Design and Analysis

59
Comments
1 min read
Uppercase the first letter of a string in JavaScript

Uppercase the first letter of a string in JavaScript

5
Comments
3 min read
Learning Tarjan's Algorithm - solving Leetcode to learn graph theory

Learning Tarjan's Algorithm - solving Leetcode to learn graph theory

6
Comments
6 min read
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
LeetCode: Remove K Digits

LeetCode: Remove K Digits

3
Comments
4 min read
Build your own Linked List in JS

Build your own Linked List in JS

16
Comments
2 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
Do you know what a virtual list is?

Do you know what a virtual list is?

2
Comments 1
2 min read
LeetCode: Single Element in a Sorted Array

LeetCode: Single Element in a Sorted Array

5
Comments
2 min read
LeetCode: Flood Fill

LeetCode: Flood Fill

7
Comments
3 min read
Solution to Leetcode's Flood Fill Question (interesting Question)

Solution to Leetcode's Flood Fill Question (interesting Question)

4
Comments
3 min read
Solving "Confirm the Ending" / FreeCodeCamp Algorithm Challenges

Solving "Confirm the Ending" / FreeCodeCamp Algorithm Challenges

7
Comments
3 min read
LeetCode: Find the Town Judge

LeetCode: Find the Town Judge

6
Comments
2 min read
Took a while to solve this Leetcode problem. Remove Duplicates From Sorted Array II

Took a while to solve this Leetcode problem. Remove Duplicates From Sorted Array II

4
Comments
2 min read
Anagrams in JavaScript(simple)

Anagrams in JavaScript(simple)

5
Comments 2
1 min read
Жадібні алгоритми

Жадібні алгоритми

6
Comments
3 min read
loading...