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.
Pattern Search - Rabin-Karp Algorithm

Pattern Search - Rabin-Karp Algorithm

3
Comments
2 min read
Introduction to data structures and algorithms with python

Introduction to data structures and algorithms with python

7
Comments 1
3 min read
Python 102: Introduction to Data Structures and Algorithms With Python.

Python 102: Introduction to Data Structures and Algorithms With Python.

10
Comments 2
5 min read
Introduction to Data Structures and Algorithms with Python

Introduction to Data Structures and Algorithms with Python

7
Comments
8 min read
Google Ranking Algorithm 🤔

Google Ranking Algorithm 🤔

6
Comments 1
1 min read
Leetcode diary: 75. Sort Colors

Leetcode diary: 75. Sort Colors

4
Comments
3 min read
Binary Tree – How to implement using Javascript in 2022?

Binary Tree – How to implement using Javascript in 2022?

7
Comments
5 min read
Data Structures and Algorithms with Go (2): Growing Your Go Skills with Trees

Data Structures and Algorithms with Go (2): Growing Your Go Skills with Trees

10
Comments
3 min read
Power of Two, A Google Interview Question - Java Solution

Power of Two, A Google Interview Question - Java Solution

37
Comments
4 min read
Check If The kth Bit is Set/Unset, A FAANG Interview Questions - Java

Check If The kth Bit is Set/Unset, A FAANG Interview Questions - Java

42
Comments 1
3 min read
New open-source repository collation

New open-source repository collation

3
Comments
1 min read
Subsets/Power-set, A FAANG Interview Question - TS Solution

Subsets/Power-set, A FAANG Interview Question - TS Solution

42
Comments 1
3 min read
Subsets/Power-set, A FAANG Interview Question - JS Solution

Subsets/Power-set, A FAANG Interview Question - JS Solution

43
Comments
3 min read
Subsets/Power-set, A FAANG Interview Question - C++ Solution

Subsets/Power-set, A FAANG Interview Question - C++ Solution

45
Comments 2
3 min read
Leetcode diary: 6. Zigzag Conversion [Explanation enhanced]

Leetcode diary: 6. Zigzag Conversion [Explanation enhanced]

6
Comments
3 min read
Monotonic Array - Java Solution

Monotonic Array - Java Solution

44
Comments
3 min read
Subsets/Power-set, A FAANG Interview Question - Java Solution

Subsets/Power-set, A FAANG Interview Question - Java Solution

45
Comments
3 min read
Basics of the Binary Tree

Basics of the Binary Tree

6
Comments
3 min read
The Longest Palindromic Sub-string

The Longest Palindromic Sub-string

6
Comments
4 min read
Breadth-First Search

Breadth-First Search

6
Comments 1
3 min read
Leetcode diary: 957. Prison Cells After N Days [No trick explanation]

Leetcode diary: 957. Prison Cells After N Days [No trick explanation]

3
Comments
5 min read
Leetcode diary:675. Cut Off Trees for Golf Event [hard, BST]

Leetcode diary:675. Cut Off Trees for Golf Event [hard, BST]

5
Comments
3 min read
Day 7 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#88.Merge Sorted Array(Easy/JavaScript)

Day 7 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#88.Merge Sorted Array(Easy/JavaScript)

7
Comments
3 min read
Day 6 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1534.Count Good Triplets(Easy/JavaScript)

Day 6 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1534.Count Good Triplets(Easy/JavaScript)

6
Comments
4 min read
Giant Squid

Giant Squid

4
Comments
5 min read
Day 5 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#56.Merge Intervals(Medium/JavaScript)

Day 5 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#56.Merge Intervals(Medium/JavaScript)

8
Comments
3 min read
Check if a number is even using recursion

Check if a number is even using recursion

4
Comments 1
1 min read
Get the integers within a range (x, y) using recursion

Get the integers within a range (x, y) using recursion

4
Comments
1 min read
Compute the sum of an array of integers using Recursion

Compute the sum of an array of integers using Recursion

6
Comments
1 min read
Day 4 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#443.String Compression(Medium/JavaScript)

Day 4 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#443.String Compression(Medium/JavaScript)

8
Comments
4 min read
Sum all numbers in an array containing nested arrays using recursion

Sum all numbers in an array containing nested arrays using recursion

4
Comments
1 min read
Lanternfish

Lanternfish

5
Comments
3 min read
Leetcode diary: 207. Course Schedule [backtracking, graph]

Leetcode diary: 207. Course Schedule [backtracking, graph]

6
Comments
3 min read
The Treachery of Whales

The Treachery of Whales

6
Comments 1
3 min read
Leetcode 909 Snakes and Ladders

Leetcode 909 Snakes and Ladders

6
Comments
2 min read
LeetCode - Single Number

LeetCode - Single Number

6
Comments 1
3 min read
Circular Queues

Circular Queues

6
Comments
3 min read
Day 3 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1.Two-Sum(Easy/JavaScript)

Day 3 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1.Two-Sum(Easy/JavaScript)

8
Comments
4 min read
Leetcode diary: 153. Find Minimum in Rotated Sorted Array [Binary Search]

Leetcode diary: 153. Find Minimum in Rotated Sorted Array [Binary Search]

5
Comments
4 min read
All about Data Structures & Algorithms

All about Data Structures & Algorithms

4
Comments 2
3 min read
Sales by Match (HackerRank Javascript Solution)

Sales by Match (HackerRank Javascript Solution)

12
Comments 1
1 min read
How I REACTO to Algos: First Double

How I REACTO to Algos: First Double

6
Comments 2
7 min read
Data Structures in Python: list()

Data Structures in Python: list()

4
Comments
4 min read
Cumulative Sum

Cumulative Sum

6
Comments
1 min read
Data Structures in Python: set()

Data Structures in Python: set()

6
Comments
4 min read
Topological Sorting in a directed acyclic graph(DAG)

Topological Sorting in a directed acyclic graph(DAG)

5
Comments
2 min read
LeetCode - Reverse Linked List II

LeetCode - Reverse Linked List II

3
Comments
4 min read
10 Algos 🚀 to Boost Your JavaScript Skills 🦄

10 Algos 🚀 to Boost Your JavaScript Skills 🦄

9
Comments
4 min read
Introduction to data structures and algorithms in Python

Introduction to data structures and algorithms in Python

8
Comments 6
5 min read
Judging Valid Parentheses

Judging Valid Parentheses

6
Comments
1 min read
QuickSort Algorithm Simplified

QuickSort Algorithm Simplified

7
Comments
3 min read
Day 1 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#728.Self-Dividing Numbers(Easy/JavaScript)

Day 1 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#728.Self-Dividing Numbers(Easy/JavaScript)

11
Comments
4 min read
How Histogram Equalization can help to auto-correct image for OCR

How Histogram Equalization can help to auto-correct image for OCR

5
Comments
1 min read
The Top 10 Algorithms Every Programmer Should Know In Graph Data Structure!

The Top 10 Algorithms Every Programmer Should Know In Graph Data Structure!

9
Comments
6 min read
Finding the longest common prefix string amongst an array of strings

Finding the longest common prefix string amongst an array of strings

7
Comments
1 min read
Smoke Basin

Smoke Basin

6
Comments
6 min read
Learn Data Structures and Algorithms

Learn Data Structures and Algorithms

10
Comments
6 min read
Bubble sort

Bubble sort

6
Comments
2 min read
Leetcode diary: 128. Longest Consecutive Sequence

Leetcode diary: 128. Longest Consecutive Sequence

6
Comments 1
3 min read
Syntax Scoring

Syntax Scoring

6
Comments
4 min read
loading...