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

Stack Patterns

1
Comments
2 min read
Crack the top 40 C# data structure questions

Crack the top 40 C# data structure questions

44
Comments
37 min read
Leetcode 1461. Check If a String Contains All Binary Codes of Size K [Multiple Approaches]

Leetcode 1461. Check If a String Contains All Binary Codes of Size K [Multiple Approaches]

4
Comments
6 min read
Solution: Check If a String Contains All Binary Codes of Size K

Solution: Check If a String Contains All Binary Codes of Size K

15
Comments
4 min read
108. Convert Sorted Array to Binary Search Tree (javascript solution)

108. Convert Sorted Array to Binary Search Tree (javascript solution)

4
Comments 1
1 min read
Leetcode 322: Coin Change [Solution]

Leetcode 322: Coin Change [Solution]

17
Comments 1
7 min read
The Best Web Development Challenge Websites

The Best Web Development Challenge Websites

9
Comments
3 min read
Solution: Coin Change

Solution: Coin Change

11
Comments 1
4 min read
Simple bit manipulation

Simple bit manipulation

8
Comments
3 min read
AI Fundamentals Series: Algorithms

AI Fundamentals Series: Algorithms

3
Comments
4 min read
Depth First Search Binary Tree

Depth First Search Binary Tree

10
Comments
3 min read
Solution: Integer to Roman

Solution: Integer to Roman

21
Comments 2
3 min read
Leetcode 12: Integer to Roman [Solution]

Leetcode 12: Integer to Roman [Solution]

9
Comments 3
4 min read
Short Bytes - Linked List Reversal

Short Bytes - Linked List Reversal

5
Comments
3 min read
Solution: Add One Row to Tree

Solution: Add One Row to Tree

13
Comments
4 min read
Leetcode 623: Add One Row to Tree [Solution]

Leetcode 623: Add One Row to Tree [Solution]

5
Comments 1
4 min read
Add 1 to the Number(Wrapped in linked List)

Add 1 to the Number(Wrapped in linked List)

6
Comments
2 min read
Solution: Validate Stack Sequences

Solution: Validate Stack Sequences

6
Comments
3 min read
Dynamic Programming

Dynamic Programming

7
Comments 2
4 min read
Solution: Count Ways to Make Array With Product

Solution: Count Ways to Make Array With Product

3
Comments
5 min read
Leetcode 1332: Remove Palindromic Subsequences [Solution]

Leetcode 1332: Remove Palindromic Subsequences [Solution]

6
Comments 1
3 min read
Algorithms 101 - Two Numbers Sum

Algorithms 101 - Two Numbers Sum

5
Comments
2 min read
Solution: Design HashMap (ver. 2)

Solution: Design HashMap (ver. 2)

22
Comments
6 min read
Solution: Remove Palindromic Subsequences

Solution: Remove Palindromic Subsequences

7
Comments
3 min read
590. N-ary Tree Postorder Traversal (javscript soution)

590. N-ary Tree Postorder Traversal (javscript soution)

8
Comments
1 min read
Solution: Design HashMap (ver. 1)

Solution: Design HashMap (ver. 1)

25
Comments 3
3 min read
Solution: Intersection of Two Linked Lists

Solution: Intersection of Two Linked Lists

50
Comments 1
4 min read
Go and Trie!

Go and Trie!

7
Comments
5 min read
938. Range Sum of BST (javascript solution)

938. Range Sum of BST (javascript solution)

7
Comments
1 min read
Append and Delete - JavaScript

Append and Delete - JavaScript

6
Comments 2
6 min read
Python custom sum to speed up summation of range objects

Python custom sum to speed up summation of range objects

6
Comments
1 min read
Stalin sort

Stalin sort

8
Comments 1
1 min read
Reverse String In JavaScript By 4 Approach

Reverse String In JavaScript By 4 Approach

3
Comments
2 min read
How To Create A Global "JSON Search Algorithm" In JavaScript.

How To Create A Global "JSON Search Algorithm" In JavaScript.

25
Comments 7
9 min read
637. Average of Levels in Binary Tree (javascript solution)

637. Average of Levels in Binary Tree (javascript solution)

6
Comments
1 min read
Solution: Average of Levels in Binary Tree

Solution: Average of Levels in Binary Tree

17
Comments
3 min read
Bubble sort in Go

Bubble sort in Go

9
Comments
4 min read
Letter combinations of phone number with a queue

Letter combinations of phone number with a queue

6
Comments
2 min read
Solution: Missing Number

Solution: Missing Number

6
Comments 3
2 min read
Implementing the K Nearest Neighbors algorithm from scratch in Python

Implementing the K Nearest Neighbors algorithm from scratch in Python

13
Comments
4 min read
Data Structures: Linked Lists

Data Structures: Linked Lists

21
Comments 2
7 min read
Crack your next coding interview with these topics

Crack your next coding interview with these topics

21
Comments
3 min read
Data Structures - Part 1 - Queues + How to Implement

Data Structures - Part 1 - Queues + How to Implement

6
Comments
5 min read
Explaining Authentication Security Issues through Memes!

Explaining Authentication Security Issues through Memes!

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

Solution: Set Mismatch (ver. 1)

10
Comments
3 min read
Back to basics - The Big O (Part 1)

Back to basics - The Big O (Part 1)

2
Comments
3 min read
Leetcode 823. Binary Trees With Factors [Solution]

Leetcode 823. Binary Trees With Factors [Solution]

7
Comments 1
4 min read
Algorithm of merge overlapping intervals

Algorithm of merge overlapping intervals

5
Comments
1 min read
118. Pascal's Triangle (javascript solution)

118. Pascal's Triangle (javascript solution)

6
Comments
1 min read
575. Distribute Candies (javascript solution)

575. Distribute Candies (javascript solution)

6
Comments
1 min read
Solution: Divide Two Integers (ver. 1)

Solution: Divide Two Integers (ver. 1)

10
Comments
4 min read
Data Structures in JavaScript: Topological Sort with Depth-First Search Graph Traversal

Data Structures in JavaScript: Topological Sort with Depth-First Search Graph Traversal

6
Comments
7 min read
Way Too Many IF-THEN-ELSEs? Try a Lookup Table

Way Too Many IF-THEN-ELSEs? Try a Lookup Table

48
Comments 5
5 min read
Solution: Distribute Candies

Solution: Distribute Candies

8
Comments
3 min read
Solution: Arithmetic Slices

Solution: Arithmetic Slices

9
Comments
4 min read
LeetCode: pathSum

LeetCode: pathSum

8
Comments
2 min read
JavaScript Sorting Algorithms: Quick Sort

JavaScript Sorting Algorithms: Quick Sort

19
Comments
5 min read
169. Majority Element (javscript solution)

169. Majority Element (javscript solution)

6
Comments
1 min read
LeetCode Two Sum

LeetCode Two Sum

7
Comments 3
2 min read
Solution: Maximum Frequency Stack

Solution: Maximum Frequency Stack

9
Comments
4 min read
loading...