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.
Demystifying Time Complexity & Big O Notation

Demystifying Time Complexity & Big O Notation

19
Comments
6 min read
Calling by value & by reference in Python

Calling by value & by reference in Python

7
Comments 2
2 min read
5 ways to sort wisely

5 ways to sort wisely

6
Comments
3 min read
Solution: Binary Trees With Factors

Solution: Binary Trees With Factors

9
Comments 2
4 min read
LeetCode 819. Most Common Word (javascript solution)

LeetCode 819. Most Common Word (javascript solution)

7
Comments
1 min read
LeetCode 1448. Count Good Nodes in Binary Tree (javascript solution) | Microsoft question

LeetCode 1448. Count Good Nodes in Binary Tree (javascript solution) | Microsoft question

6
Comments
1 min read
Difference between =, ==, and === in JavaScript

Difference between =, ==, and === in JavaScript

7
Comments
2 min read
The Superlative Guide to Data Structures in JavaScript

The Superlative Guide to Data Structures in JavaScript

86
Comments 1
2 min read
Data Structures: Union Find

Data Structures: Union Find

9
Comments
5 min read
Why is Graph Theory so amazing? - part 3 - BFS, bipartite graphs

Why is Graph Theory so amazing? - part 3 - BFS, bipartite graphs

5
Comments
4 min read
Solution: Longest Increasing Path in a Matrix

Solution: Longest Increasing Path in a Matrix

6
Comments
4 min read
Two Sum solution.

Two Sum solution.

6
Comments 1
2 min read
Understanding the binary search algorithm

Understanding the binary search algorithm

8
Comments 2
5 min read
LeetCode 14. Longest Common Prefix (javascript solution)

LeetCode 14. Longest Common Prefix (javascript solution)

4
Comments 1
1 min read
Solution: Verifying an Alien Dictionary

Solution: Verifying an Alien Dictionary

11
Comments
4 min read
LeetCode 140. Word Break II (javascript solution)

LeetCode 140. Word Break II (javascript solution)

2
Comments 1
1 min read
Data structures and algorithms

Data structures and algorithms

3
Comments 1
1 min read
Verify matching parens, brackets and braces with Elixir

Verify matching parens, brackets and braces with Elixir

13
Comments 9
12 min read
Turning Lemons into Topologically Sorted Lemonade

Turning Lemons into Topologically Sorted Lemonade

3
Comments 1
5 min read
Solution: Letter Combinations of a Phone Number

Solution: Letter Combinations of a Phone Number

32
Comments 2
4 min read
What are Data Structures?

What are Data Structures?

18
Comments
3 min read
LeetCode 139. Word Break (javascript solution)

LeetCode 139. Word Break (javascript solution)

4
Comments 1
1 min read
Solving the Dominoes problem with Graph Theory and Typescript

Solving the Dominoes problem with Graph Theory and Typescript

35
Comments
11 min read
Verificando parênteses, colchetes e chaves correspondentes com Elixir

Verificando parênteses, colchetes e chaves correspondentes com Elixir

8
Comments
13 min read
Some Elixir katas - Pt 4

Some Elixir katas - Pt 4

7
Comments
3 min read
Some Elixir katas - Pt 1

Some Elixir katas - Pt 1

6
Comments
4 min read
Some Elixir katas - Pt 3

Some Elixir katas - Pt 3

3
Comments
3 min read
Some Elixir katas - Pt 2

Some Elixir katas - Pt 2

3
Comments
6 min read
Solution: Determine if String Halves Are Alike

Solution: Determine if String Halves Are Alike

9
Comments 2
3 min read
Solution: Palindromic Substrings

Solution: Palindromic Substrings

9
Comments
3 min read
Big O: Time Complexity of Algorithms with Kotlin examples

Big O: Time Complexity of Algorithms with Kotlin examples

7
Comments
5 min read
Solution: Minimum Operations to Make Array Equal

Solution: Minimum Operations to Make Array Equal

13
Comments
4 min read
Solution: Global and Local Inversions

Solution: Global and Local Inversions

15
Comments
3 min read
Programming concepts in JS: Currying 🍛

Programming concepts in JS: Currying 🍛

10
Comments
4 min read
Understand Big O notation in 7 minutes

Understand Big O notation in 7 minutes

73
Comments
7 min read
Solution: Design Circular Queue

Solution: Design Circular Queue

15
Comments 1
7 min read
230. Kth Smallest Element in a BST (javascript solution)

230. Kth Smallest Element in a BST (javascript solution)

6
Comments
1 min read
Solution: Longest Valid Parentheses

Solution: Longest Valid Parentheses

28
Comments 4
4 min read
Free Computer Science Resources with Interview Prep and much more...

Free Computer Science Resources with Interview Prep and much more...

100
Comments
9 min read
The Big O Compare-o-Matic Chart

The Big O Compare-o-Matic Chart

8
Comments 2
4 min read
966. Vowel Spellchecker (javascript solution)

966. Vowel Spellchecker (javascript solution)

6
Comments
2 min read
Solution: Ones and Zeroes

Solution: Ones and Zeroes

22
Comments
4 min read
What is Bubble Sort?

What is Bubble Sort?

6
Comments
4 min read
Creating a Sudoku Solver and Generator with Python

Creating a Sudoku Solver and Generator with Python

5
Comments
1 min read
Data Structures and Algorithms walk through part 1(linear and binary algorithm)

Data Structures and Algorithms walk through part 1(linear and binary algorithm)

6
Comments
7 min read
841. Keys and Rooms (javascript solution)

841. Keys and Rooms (javascript solution)

6
Comments
1 min read
Solution: Palindrome Linked List

Solution: Palindrome Linked List

26
Comments 3
4 min read
Efficient Solution To Sock Matching Problem

Efficient Solution To Sock Matching Problem

6
Comments
3 min read
Why is Graph Theory so amazing? - part 2, depth first search & topological sorting

Why is Graph Theory so amazing? - part 2, depth first search & topological sorting

5
Comments
5 min read
1721. Swapping Nodes in a Linked List (javascript solution)

1721. Swapping Nodes in a Linked List (javascript solution)

6
Comments
1 min read
Solution: Stamping The Sequence

Solution: Stamping The Sequence

8
Comments
5 min read
Implementing SHA2 (256/512) algorithm with Rust const generics

Implementing SHA2 (256/512) algorithm with Rust const generics

15
Comments
4 min read
Binary Tree Part 3 'Breadth-First Search' JavaScript and Python

Binary Tree Part 3 'Breadth-First Search' JavaScript and Python

6
Comments
3 min read
LeetCode 289. Game of Life (javascript solution)

LeetCode 289. Game of Life (javascript solution)

4
Comments 1
2 min read
Sorting Algorithms: Bubble Sort

Sorting Algorithms: Bubble Sort

7
Comments 2
3 min read
Implement the bubble sort algorithm using TypeScript

Implement the bubble sort algorithm using TypeScript

15
Comments 2
2 min read
Solution: Flip Binary Tree To Match Preorder Traversal

Solution: Flip Binary Tree To Match Preorder Traversal

7
Comments
4 min read
LeetCode 409. Longest Palindrome (javascript solution)

LeetCode 409. Longest Palindrome (javascript solution)

7
Comments 1
1 min read
Solution: Word Subsets

Solution: Word Subsets

11
Comments 4
5 min read
Solution: Reconstruct Original Digits from English

Solution: Reconstruct Original Digits from English

9
Comments
4 min read
loading...