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

8
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

30
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

9
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
Data Structures: Queues

Data Structures: Queues

7
Comments
7 min read
Appointment Booking with Facebook Messenger Chat Bots and NodeJS

Appointment Booking with Facebook Messenger Chat Bots and NodeJS

39
Comments 1
3 min read
Sum of N Fibonacci Numbers

Sum of N Fibonacci Numbers

7
Comments 1
3 min read
Solving the Game Show Problem with Python

Solving the Game Show Problem with Python

6
Comments
8 min read
Understanding The O(2^n) Time Complexity

Understanding The O(2^n) Time Complexity

6
Comments
5 min read
Documenting My Web Dev Journey

Documenting My Web Dev Journey

15
Comments 5
1 min read
The ultimate guide for data structures & algorithm interviews 🔥

The ultimate guide for data structures & algorithm interviews 🔥

1572
Comments 19
47 min read
Using a heap to find the minimum cost to modify an array

Using a heap to find the minimum cost to modify an array

2
Comments
1 min read
Data Structures — Part 2 — Stacks + How to Implement

Data Structures — Part 2 — Stacks + How to Implement

5
Comments
3 min read
LeetCode 49. Group Anagrams (javascript solution)

LeetCode 49. Group Anagrams (javascript solution)

8
Comments 1
1 min read
Why is Graph Theory so amazing? - part 1

Why is Graph Theory so amazing? - part 1

21
Comments
4 min read
Use LinkedList when implementing QUEUES in JS.

Use LinkedList when implementing QUEUES in JS.

11
Comments 1
3 min read
Solution: Pacific Atlantic Water Flow

Solution: Pacific Atlantic Water Flow

7
Comments
5 min read
An Algorithm to Swap Two Variables Synchronously, Without Creating a Temporary Variable

An Algorithm to Swap Two Variables Synchronously, Without Creating a Temporary Variable

29
Comments 11
2 min read
Solution: Advantage Shuffle

Solution: Advantage Shuffle

10
Comments
4 min read
Unbounded Knapsack Problem - DP

Unbounded Knapsack Problem - DP

6
Comments
4 min read
Solution: 3Sum With Multiplicity

Solution: 3Sum With Multiplicity

6
Comments
6 min read
Solution: Set Mismatch (ver. 2)

Solution: Set Mismatch (ver. 2)

9
Comments 4
3 min read
Interesting ML Paper

Interesting ML Paper

4
Comments
1 min read
Build Algorithm

Build Algorithm

3
Comments
1 min read
Solution: Design Underground System

Solution: Design Underground System

13
Comments
5 min read
NATURAL LANGUAGE PROCESSING

NATURAL LANGUAGE PROCESSING

8
Comments 1
3 min read
Solution: Vowel Spellchecker

Solution: Vowel Spellchecker

17
Comments
5 min read
Solve Leetcode Problems and Get Offers From Your Dream Companies||Maximum Points You Can Obtain from Cards

Solve Leetcode Problems and Get Offers From Your Dream Companies||Maximum Points You Can Obtain from Cards

2
Comments
3 min read
Big-Oh(O) does not give you always the worst-case, But why?

Big-Oh(O) does not give you always the worst-case, But why?

2
Comments
3 min read
714. Best Time to Buy and Sell Stock with Transaction Fee (javascript solution)

714. Best Time to Buy and Sell Stock with Transaction Fee (javascript solution)

7
Comments
1 min read
đź“‚ Merge common words of two files in Python, practice file handling

đź“‚ Merge common words of two files in Python, practice file handling

13
Comments
8 min read
loading...