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.
What is BFS? (Breadth-first Search)

What is BFS? (Breadth-first Search)

13
Comments 1
5 min read
Solution: To Lower Case

Solution: To Lower Case

21
Comments 4
2 min read
How to Code the Insertion Sort Algorithm in JavaScript

How to Code the Insertion Sort Algorithm in JavaScript

9
Comments 1
10 min read
LeetCode 1353. Maximum Number of Events That Can Be Attended (javascript solution)

LeetCode 1353. Maximum Number of Events That Can Be Attended (javascript solution)

6
Comments
1 min read
LeetCode 897. Increasing Order Search Tree (javascript solution)

LeetCode 897. Increasing Order Search Tree (javascript solution)

5
Comments
1 min read
Merge Sort, Its not hard!

Merge Sort, Its not hard!

21
Comments
2 min read
Data Structures: Graphs

Data Structures: Graphs

19
Comments
7 min read
What is Simulated Annealing?

What is Simulated Annealing?

20
Comments 1
4 min read
Solution: N-Queens

Solution: N-Queens

13
Comments
4 min read
Bubble Sort (3 min recap)

Bubble Sort (3 min recap)

4
Comments 2
1 min read
Introduction to Big O notation and Time Complexity in JavaScript

Introduction to Big O notation and Time Complexity in JavaScript

82
Comments 2
7 min read
Algorithm Approach : Palindrome

Algorithm Approach : Palindrome

5
Comments
2 min read
Optimizing recursive functions 🚀🚀

Optimizing recursive functions 🚀🚀

10
Comments
11 min read
LeetCode 1011. Capacity To Ship Packages Within D Days (javascript solution)

LeetCode 1011. Capacity To Ship Packages Within D Days (javascript solution)

5
Comments
2 min read
Solution: Find and Replace Pattern

Solution: Find and Replace Pattern

12
Comments 1
4 min read
LeetCode 217. Contains Duplicate (javascript solution)

LeetCode 217. Contains Duplicate (javascript solution)

7
Comments
1 min read
LeetCode 219. Contains Duplicate II (javascript solution)

LeetCode 219. Contains Duplicate II (javascript solution)

5
Comments
1 min read
Solution: Binary Tree Level Order Traversal

Solution: Binary Tree Level Order Traversal

12
Comments 1
3 min read
Understanding Dijkstra's Shortest Path Algorithm using Python

Understanding Dijkstra's Shortest Path Algorithm using Python

8
Comments 2
9 min read
Big O notation using Python

Big O notation using Python

15
Comments
7 min read
Solution: Minimum Moves to Equal Array Elements II

Solution: Minimum Moves to Equal Array Elements II

16
Comments 4
3 min read
LeetCode 1283. Find the Smallest Divisor Given a Threshold (javascript solution)

LeetCode 1283. Find the Smallest Divisor Given a Threshold (javascript solution)

5
Comments
1 min read
How to efficiently sort a large array

How to efficiently sort a large array

18
Comments 3
3 min read
The big STL Algorithms tutorial: binary_search et al.

The big STL Algorithms tutorial: binary_search et al.

3
Comments
8 min read
How Computers generate random numbers ?

How Computers generate random numbers ?

19
Comments 2
3 min read
loading...