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.
Uppercase the first letter of a string in JavaScript

Uppercase the first letter of a string in JavaScript

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

Merge Sort Algorithm - Algorithm Design and Analysis

59
Comments
1 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
Fenwick Tree (Binary Indexed Tree)

Fenwick Tree (Binary Indexed Tree)

18
Comments
5 min read
Kadane's Algorithm & The Maximum Subarray Problem

Kadane's Algorithm & The Maximum Subarray Problem

50
Comments 3
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
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
The Happy Number Problem

The Happy Number Problem

76
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: 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
Solution to Leetcode’s Valid Perfect Square

Solution to Leetcode’s Valid Perfect Square

5
Comments
2 min read
LeetCode: Cousins in Binary Tree

LeetCode: Cousins in Binary Tree

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

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

9
Comments
5 min read
LeetCode: Jewels and Stones

LeetCode: Jewels and Stones

6
Comments 1
1 min read
LeetCode: First Unique Character in a String

LeetCode: First Unique Character in a String

4
Comments
1 min read
LeetCode: Number Complement

LeetCode: Number Complement

5
Comments
3 min read
LeetCode: First Bad Version

LeetCode: First Bad Version

5
Comments
2 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
Today, we celebrate!

Today, we celebrate!

5
Comments
3 min read
Jump Search

Jump Search

9
Comments
5 min read
Dijkstra’s Algorithm visualization

Dijkstra’s Algorithm visualization

4
Comments
1 min read
FizzBuzz JavaScript

FizzBuzz JavaScript

21
Comments 9
2 min read
What’s the Difference Between Big O, Big Omega, and Big Theta?

What’s the Difference Between Big O, Big Omega, and Big Theta?

22
Comments 1
5 min read
LeetCode 1365. How Many Numbers Are Smaller Than the Current Number

LeetCode 1365. How Many Numbers Are Smaller Than the Current Number

6
Comments
2 min read
Insertion Sort Algorithm - Algorithm Design and Analysis 06:37

Insertion Sort Algorithm - Algorithm Design and Analysis

15
Comments
1 min read
Algorithms part 1

Algorithms part 1

6
Comments 2
4 min read
Finding the Shortest Path: Locating a Target In A Tree

Finding the Shortest Path: Locating a Target In A Tree

11
Comments
4 min read
Open-source JavaScript Data Structures & Algorithms

Open-source JavaScript Data Structures & Algorithms

24
Comments 2
2 min read
FCC Algorithm Challenges / Factorialize a Number

FCC Algorithm Challenges / Factorialize a Number

2
Comments 2
3 min read
Binary Search

Binary Search

5
Comments
7 min read
What makes MySQL LRU cache scan resistant

What makes MySQL LRU cache scan resistant

9
Comments
8 min read
Fundamental Data Structures and Algorithms in C#

Fundamental Data Structures and Algorithms in C#

295
Comments 13
15 min read
Big O Factorial Time Complexity

Big O Factorial Time Complexity

18
Comments
5 min read
FCC Algorithm Challenges / Reverse a String

FCC Algorithm Challenges / Reverse a String

7
Comments
3 min read
How to find the maximum character in a string and how many times it appeared

How to find the maximum character in a string and how many times it appeared

20
Comments
3 min read
The big STL Algorithms tutorial: replace N elements

The big STL Algorithms tutorial: replace N elements

7
Comments
6 min read
Sliding Window Technique

Sliding Window Technique

9
Comments
2 min read
Getting Started With Data Structure and Algorithm With Revisiting DSA Series

Getting Started With Data Structure and Algorithm With Revisiting DSA Series

5
Comments
2 min read
Best Profit in Single Sale

Best Profit in Single Sale

6
Comments
2 min read
Two Equations to Improve Your Analysis of Algorithms

Two Equations to Improve Your Analysis of Algorithms

21
Comments
4 min read
What is Recursion?

What is Recursion?

26
Comments 3
4 min read
Sudoku Solver, power of backtracking. 🔥

Sudoku Solver, power of backtracking. 🔥

11
Comments
5 min read
Algorithms Day 1- Linear and Binary Search

Algorithms Day 1- Linear and Binary Search

2
Comments
1 min read
30-Day LeetCoding Challenge: Perform String Shifts

30-Day LeetCoding Challenge: Perform String Shifts

3
Comments 2
3 min read
Iterate Over An Array And Remove Elements

Iterate Over An Array And Remove Elements

6
Comments 1
7 min read
Scheduling Algorithm

Scheduling Algorithm

5
Comments 1
1 min read
Add Binary, solving Facebook interview question

Add Binary, solving Facebook interview question

5
Comments
2 min read
loading...