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.
How to Check if an Array is Sorted

How to Check if an Array is Sorted

Comments
3 min read
How to use an auto-tiling technique in your next game project

How to use an auto-tiling technique in your next game project

12
Comments 2
12 min read
Picking myself up after a Vacation

Picking myself up after a Vacation

1
Comments
3 min read
1509. Minimum Difference Between Largest and Smallest Value in Three Moves

1509. Minimum Difference Between Largest and Smallest Value in Three Moves

2
Comments
2 min read
Greedy Algorithms, Design and Analysis of Algorithms

Greedy Algorithms, Design and Analysis of Algorithms

Comments
8 min read
Easy задача с собеседования в Facebook: Contains Duplicate ||

Easy задача с собеседования в Facebook: Contains Duplicate ||

2
Comments
2 min read
Get Random Documents from Firestore

Get Random Documents from Firestore

3
Comments
1 min read
350. Intersection of Two Arrays II

350. Intersection of Two Arrays II

1
Comments
2 min read
Backtracking, Design and Analysis of Algorithms

Backtracking, Design and Analysis of Algorithms

Comments
7 min read
Mastering Binary Search in JavaScript Part I: Iterative, Recursive. 🚀🦾

Mastering Binary Search in JavaScript Part I: Iterative, Recursive. 🚀🦾

1
Comments
2 min read
[LeetCode] Visualization of Reverse Linked List

[LeetCode] Visualization of Reverse Linked List

1
Comments
1 min read
Subsets and Backtracking, Coding Interview Pattern

Subsets and Backtracking, Coding Interview Pattern

1
Comments
3 min read
1550. Three Consecutive Odds

1550. Three Consecutive Odds

Comments 1
1 min read
LeetCode Meditations: House Robber

LeetCode Meditations: House Robber

3
Comments 1
4 min read
LeetCode Day23 Greedy Algorithm Part 1

LeetCode Day23 Greedy Algorithm Part 1

Comments 1
4 min read
Recursion, Design and Analysis of Algorithms

Recursion, Design and Analysis of Algorithms

1
Comments
9 min read
The Power of Binary Search

The Power of Binary Search

6
Comments
3 min read
Leet Code Problem: Finding index that sums to a target Using Javascript

Leet Code Problem: Finding index that sums to a target Using Javascript

Comments
3 min read
How Garbage Collector works - Under The Hood

How Garbage Collector works - Under The Hood

5
Comments
5 min read
1579. Remove Max Number of Edges to Keep Graph Fully Traversable

1579. Remove Max Number of Edges to Keep Graph Fully Traversable

Comments
3 min read
Luhn's Algorithm: Credit Card Validation

Luhn's Algorithm: Credit Card Validation

3
Comments
3 min read
Tree data structures in Rust with tree-ds (#3: Beyond The Basics)

Tree data structures in Rust with tree-ds (#3: Beyond The Basics)

1
Comments
2 min read
2192. All Ancestors of a Node in a Directed Acyclic Graph

2192. All Ancestors of a Node in a Directed Acyclic Graph

Comments
3 min read
Tree data structures in Rust with tree-ds (#2: Tree Operations)

Tree data structures in Rust with tree-ds (#2: Tree Operations)

1
Comments
3 min read
LeetCode Day21 BackTracking Part 3

LeetCode Day21 BackTracking Part 3

Comments
3 min read
Understanding Dijkstra's Algorithm: A Step-by-Step Guide 🚀

Understanding Dijkstra's Algorithm: A Step-by-Step Guide 🚀

12
Comments 2
6 min read
LeetCode Meditations: Climbing Stairs

LeetCode Meditations: Climbing Stairs

1
Comments 1
6 min read
2285. Maximum Total Importance of Roads

2285. Maximum Total Importance of Roads

Comments
2 min read
Refactoring..(Part 3)

Refactoring..(Part 3)

Comments
3 min read
The Magical World of Machine Learning at Hogwarts (Part #5)

The Magical World of Machine Learning at Hogwarts (Part #5)

5
Comments
8 min read
1791. Find Center of Star Graph

1791. Find Center of Star Graph

Comments
2 min read
Master Abstract Factory Design Pattern for Programming Interviews with 5 easy steps

Master Abstract Factory Design Pattern for Programming Interviews with 5 easy steps

5
Comments 1
4 min read
1382. Balance a Binary Search Tree

1382. Balance a Binary Search Tree

Comments
2 min read
What is a CIDR trie and how can it help you?

What is a CIDR trie and how can it help you?

Comments
8 min read
Hexaflare: Exploring Data Structures

Hexaflare: Exploring Data Structures

Comments
13 min read
The Magical World of Machine Learning at Hogwarts (Part #4)

The Magical World of Machine Learning at Hogwarts (Part #4)

5
Comments
6 min read
1038. Binary Search Tree to Greater Sum Tree

1038. Binary Search Tree to Greater Sum Tree

Comments
2 min read
The Magical World of Machine Learning at Hogwarts (Part #3)

The Magical World of Machine Learning at Hogwarts (Part #3)

5
Comments
7 min read
The Magical World of Machine Learning at Hogwarts (Part #2)

The Magical World of Machine Learning at Hogwarts (Part #2)

6
Comments
7 min read
995. Minimum Number of K Consecutive Bit Flips

995. Minimum Number of K Consecutive Bit Flips

3
Comments
2 min read
Dynamic Programming, Coding Interview Pattern

Dynamic Programming, Coding Interview Pattern

Comments
4 min read
How to Find the Element that Appears Once in an Array

How to Find the Element that Appears Once in an Array

Comments
5 min read
How to Find the Largest Element in an Array

How to Find the Largest Element in an Array

1
Comments
3 min read
Insertion Sort Algorithm

Insertion Sort Algorithm

Comments
4 min read
Bubble Sort Algorithm

Bubble Sort Algorithm

Comments
4 min read
The Magical World of Machine Learning at Hogwarts (Part #1)

The Magical World of Machine Learning at Hogwarts (Part #1)

5
Comments 1
8 min read
Selection Sort Algorithm

Selection Sort Algorithm

Comments
3 min read
Dynamic Programming, Design and Analysis of Algorithms

Dynamic Programming, Design and Analysis of Algorithms

Comments
17 min read
1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit

1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit

1
Comments
2 min read
AI Interview Copilot: Revolutionizing Job Interviews with Real-Time AI Assistance

AI Interview Copilot: Revolutionizing Job Interviews with Real-Time AI Assistance

5
Comments
2 min read
1248. Count Number of Nice Subarrays

1248. Count Number of Nice Subarrays

2
Comments
1 min read
Apply Prefix Sum into solve sum of sub-array problem

Apply Prefix Sum into solve sum of sub-array problem

Comments
1 min read
Tree data structures in Rust with tree-ds (#1: Getting Started)

Tree data structures in Rust with tree-ds (#1: Getting Started)

11
Comments
3 min read
How to Find the Maximum Consecutive Ones in an Array

How to Find the Maximum Consecutive Ones in an Array

Comments
2 min read
Max Area of Island | LeetCode

Max Area of Island | LeetCode

3
Comments
1 min read
Remove All Adjacent Duplicates In String | LeetCode | Java

Remove All Adjacent Duplicates In String | LeetCode | Java

3
Comments
1 min read
Worker Pool Design Pattern Explanation

Worker Pool Design Pattern Explanation

5
Comments
3 min read
How to Find the Missing Number in an Array

How to Find the Missing Number in an Array

1
Comments
6 min read
1052. Grumpy Bookstore Owner

1052. Grumpy Bookstore Owner

3
Comments
2 min read
LeetCode Day 14 Binary Tree Part 4

LeetCode Day 14 Binary Tree Part 4

Comments
1 min read
loading...