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.
Everything JavaScript Arrays & Array Methods!

Everything JavaScript Arrays & Array Methods!

74
Comments 2
15 min read
Solution: Rotate Image

Solution: Rotate Image

14
Comments 1
4 min read
984 : String Without AAA or BBB - Leetcode Medium

984 : String Without AAA or BBB - Leetcode Medium

4
Comments
2 min read
LeetCode 63. Unique Paths II (javascript solution)

LeetCode 63. Unique Paths II (javascript solution)

6
Comments 1
1 min read
LeetCode 70. Climbing Stairs (javascript solution)

LeetCode 70. Climbing Stairs (javascript solution)

3
Comments 1
1 min read
LeetCode 62. Unique Paths (javascript solution)

LeetCode 62. Unique Paths (javascript solution)

8
Comments 1
1 min read
DSA 101: Hashing & Hash Tables

DSA 101: Hashing & Hash Tables

11
Comments
6 min read
Solution: Critical Connections in a Network

Solution: Critical Connections in a Network

13
Comments
5 min read
Leetcode in JS: Matrix Zeros

Leetcode in JS: Matrix Zeros

10
Comments
7 min read
When to Use these String Methods in JavaScript

When to Use these String Methods in JavaScript

32
Comments
7 min read
From String to Array to String

From String to Array to String

21
Comments
8 min read
Computer Science as a Medicine

Computer Science as a Medicine

3
Comments
5 min read
JS: Sort an Array of Objects on multiple columns/keys

JS: Sort an Array of Objects on multiple columns/keys

90
Comments 5
3 min read
From String to Array to String

From String to Array to String

14
Comments 1
8 min read
Solution: Count Binary Substrings

Solution: Count Binary Substrings

27
Comments 4
3 min read
Sorting Algorithms in Python

Sorting Algorithms in Python

4
Comments
4 min read
1. Two Sum

1. Two Sum

4
Comments
1 min read
LeetCode 64. Minimum Path Sum (javascript solution)

LeetCode 64. Minimum Path Sum (javascript solution)

6
Comments 1
1 min read
LeetCode 120. Triangle (javascript solution)

LeetCode 120. Triangle (javascript solution)

4
Comments
1 min read
Solution: Brick Wall

Solution: Brick Wall

8
Comments
4 min read
Lexer - Expression calculator

Lexer - Expression calculator

8
Comments
3 min read
LeetCode 328. Odd Even Linked List (javascript solution)

LeetCode 328. Odd Even Linked List (javascript solution)

6
Comments 1
1 min read
Recursion, why is helpful but not in JS, ;(

Recursion, why is helpful but not in JS, ;(

6
Comments
1 min read
Solution: Triangle

Solution: Triangle

24
Comments
4 min read
LeetCode 142. Linked List Cycle II (javascript solution)

LeetCode 142. Linked List Cycle II (javascript solution)

6
Comments
1 min read
DSA 101: Matrix

DSA 101: Matrix

11
Comments
4 min read
Solution: N-ary Tree Preorder Traversal

Solution: N-ary Tree Preorder Traversal

16
Comments
3 min read
Why C++ is the best language to learn Algorithms and Data Structures?

Why C++ is the best language to learn Algorithms and Data Structures?

4
Comments 1
2 min read
Cpp Solution: N-ary Tree Preorder Traversal (leetcode 589)

Cpp Solution: N-ary Tree Preorder Traversal (leetcode 589)

5
Comments
2 min read
Dynamic problems to improve your productivity

Dynamic problems to improve your productivity

3
Comments
5 min read
Simple trapping rainwater

Simple trapping rainwater

6
Comments
1 min read
Insertion sort

Insertion sort

6
Comments
1 min read
Algorithms

Algorithms

6
Comments 4
1 min read
Big O, when 1 + 1 = 1

Big O, when 1 + 1 = 1

8
Comments
20 min read
Solution: Combination Sum IV

Solution: Combination Sum IV

10
Comments 1
5 min read
Solution: Remove Nth Node From End of List

Solution: Remove Nth Node From End of List

19
Comments 8
4 min read
Duplicate Zeros - Optimal Solution in Ruby

Duplicate Zeros - Optimal Solution in Ruby

7
Comments 1
4 min read
Bubble sort

Bubble sort

47
Comments 2
1 min read
LeetCode 15. 3Sum (javascript solution)

LeetCode 15. 3Sum (javascript solution)

6
Comments
2 min read
Data structures and algorithms __Evaluating Program Efficiency and sorting

Data structures and algorithms __Evaluating Program Efficiency and sorting

5
Comments
6 min read
Negative Number to Positive Number without using abs() - asked in a interview

Negative Number to Positive Number without using abs() - asked in a interview

6
Comments 3
1 min read
LeetCode String to Integer (atoi)

LeetCode String to Integer (atoi)

7
Comments
3 min read
Recursion is Recursion

Recursion is Recursion

6
Comments
4 min read
Comprehensive Big O Notation Guide in Plain English, using Javascript

Comprehensive Big O Notation Guide in Plain English, using Javascript

1291
Comments 34
14 min read
Connecting The Dots: Front-end and Algorithms

Connecting The Dots: Front-end and Algorithms

30
Comments
2 min read
167. Two Sum II - Input array is sorted (javascript solution)

167. Two Sum II - Input array is sorted (javascript solution)

9
Comments
1 min read
LeetCode 1. Two Sum (javascript solution)

LeetCode 1. Two Sum (javascript solution)

5
Comments
1 min read
Solution: Number of Submatrices That Sum to Target

Solution: Number of Submatrices That Sum to Target

11
Comments 1
4 min read
Making Sense of Algorithms: General Perspective

Making Sense of Algorithms: General Perspective

3
Comments
6 min read
Solution: Remove All Adjacent Duplicates in String II

Solution: Remove All Adjacent Duplicates in String II

20
Comments 7
6 min read
Quicksort, a Ruby implementation using Test-driven development

Quicksort, a Ruby implementation using Test-driven development

17
Comments
7 min read
Why is Graph Theory so amazing? - part 4, working with weights & Dijkstra

Why is Graph Theory so amazing? - part 4, working with weights & Dijkstra

9
Comments 1
5 min read
LeetCode 200. Number of Islands (javascript solution)

LeetCode 200. Number of Islands (javascript solution)

6
Comments
1 min read
A Beginners Guide to Bit Manipulation

A Beginners Guide to Bit Manipulation

45
Comments 2
7 min read
Solution: Fibonacci Number

Solution: Fibonacci Number

11
Comments
3 min read
What is Complexity Analysis?

What is Complexity Analysis?

10
Comments 2
3 min read
Solution: Partition List

Solution: Partition List

10
Comments 3
3 min read
Service example to sync the database with data from a third party API (with tests)

Service example to sync the database with data from a third party API (with tests)

10
Comments
6 min read
LeetCode 560. Subarray Sum Equals K (javascript solution)

LeetCode 560. Subarray Sum Equals K (javascript solution)

6
Comments
1 min read
Solution: Flatten Nested List Iterator

Solution: Flatten Nested List Iterator

12
Comments 1
3 min read
loading...