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.
Day 21 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#387. First Unique Character in a String(Easy/JS)

Day 21 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#387. First Unique Character in a String(Easy/JS)

7
Comments
3 min read
Quicksort Algorithm

Quicksort Algorithm

4
Comments
8 min read
104. Depth of Binary Tree

104. Depth of Binary Tree

7
Comments
4 min read
Introduction to Data Structures and Algorithms With Modern JavaScript.

Introduction to Data Structures and Algorithms With Modern JavaScript.

7
Comments
4 min read
Day 20 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#724. Find Pivot Index(Easy/JavaScript)

Day 20 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#724. Find Pivot Index(Easy/JavaScript)

7
Comments
4 min read
Dive!

Dive!

6
Comments
3 min read
The question is not can you build it, but rather should you build it

The question is not can you build it, but rather should you build it

4
Comments
4 min read
Crab Cups

Crab Cups

6
Comments
5 min read
Two Sum Problem

Two Sum Problem

16
Comments 4
2 min read
Day 19 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#83. Remove Duplicates from Sorted List(E/JS)

Day 19 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#83. Remove Duplicates from Sorted List(E/JS)

6
Comments
3 min read
LeetCode WalkThru: 'Reverse Integer'

LeetCode WalkThru: 'Reverse Integer'

9
Comments
7 min read
Hamming Distance - C++ Solution

Hamming Distance - C++ Solution

48
Comments 18
3 min read
🥇Counting Valleys - HackerRank Solution (Javascript) 🚀

🥇Counting Valleys - HackerRank Solution (Javascript) 🚀

9
Comments
2 min read
Binary Diagnostic

Binary Diagnostic

6
Comments
5 min read
Coding Interview – Solve Sudokus Using Python and Z3

Coding Interview – Solve Sudokus Using Python and Z3

6
Comments
4 min read
Hamming Distance - Java Solution

Hamming Distance - Java Solution

42
Comments
3 min read
BFS/DFS/DP LeetCode Notes: Send message

BFS/DFS/DP LeetCode Notes: Send message

4
Comments
4 min read
Data Structure Algorithms: Linear Search

Data Structure Algorithms: Linear Search

7
Comments
1 min read
Data Structures 101: Introduction to Data Structures and Algorithms.

Data Structures 101: Introduction to Data Structures and Algorithms.

101
Comments 18
8 min read
Data Science & Algorithms: Insertion Sort

Data Science & Algorithms: Insertion Sort

6
Comments 2
2 min read
Coding Interview – Converting Roman Numerals in Python

Coding Interview – Converting Roman Numerals in Python

8
Comments
3 min read
Intro to Apache Arrow

Intro to Apache Arrow

7
Comments
2 min read
Day 17 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#829. Consecutive Numbers Sum(Hard/JavaScript)

Day 17 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#829. Consecutive Numbers Sum(Hard/JavaScript)

6
Comments
3 min read
Day 16 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1071. Greatest Common Divisor of Strings(Easy/JS)

Day 16 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1071. Greatest Common Divisor of Strings(Easy/JS)

6
Comments
3 min read
Leetcode: Container With Most Water

Leetcode: Container With Most Water

3
Comments 1
3 min read
Leetcode diary: 33. Search in Rotated Sorted Array

Leetcode diary: 33. Search in Rotated Sorted Array

6
Comments
4 min read
Day 15 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#453. Minimum Moves to Equal Array Elements(M/JS)

Day 15 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#453. Minimum Moves to Equal Array Elements(M/JS)

7
Comments
4 min read
Deep Dive into Data structures using Javascript - Doubly Linked List

Deep Dive into Data structures using Javascript - Doubly Linked List

6
Comments
15 min read
Leetcode diary: 124. Binary Tree Maximum Path Sum

Leetcode diary: 124. Binary Tree Maximum Path Sum

11
Comments 1
4 min read
Leetcode diary: 53. Maximum Subarray

Leetcode diary: 53. Maximum Subarray

6
Comments
3 min read
Day 14 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#209. Minimum Size Subarray Sum(Medium/JavaScript)

Day 14 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#209. Minimum Size Subarray Sum(Medium/JavaScript)

6
Comments
4 min read
Ways to increase images load time speed on webpages / sites

Ways to increase images load time speed on webpages / sites

7
Comments
1 min read
Python 102: Introduction to Data Structures and Algorithms in Python

Python 102: Introduction to Data Structures and Algorithms in Python

7
Comments
4 min read
Remove Stones to minimize the Total(code and Explanation)

Remove Stones to minimize the Total(code and Explanation)

7
Comments
2 min read
Day 12 of Studying LeetCode Solution until I Can Solve One on My Own: Problem1560. Most Visited Sector in a Circular Track(E/JS)

Day 12 of Studying LeetCode Solution until I Can Solve One on My Own: Problem1560. Most Visited Sector in a Circular Track(E/JS)

5
Comments
4 min read
Combo Breaker

Combo Breaker

5
Comments
3 min read
Connect Ropes(code and explanation)

Connect Ropes(code and explanation)

7
Comments 2
2 min read
'K' Closest Numbers(code and explanation)

'K' Closest Numbers(code and explanation)

4
Comments
2 min read
Day 11 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#844. Backspace String Compare(Easy/JavaScript)

Day 11 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#844. Backspace String Compare(Easy/JavaScript)

7
Comments
3 min read
The Longest Palindromic Sub-string - Part 2

The Longest Palindromic Sub-string - Part 2

6
Comments
2 min read
"Programs are meant to be read by humans and for computers to execute, right?"

"Programs are meant to be read by humans and for computers to execute, right?"

4
Comments
2 min read
The big STL Algorithms tutorial: wrapping up

The big STL Algorithms tutorial: wrapping up

2
Comments 4
3 min read
2D Array - HackerRank JavaScript Solution

2D Array - HackerRank JavaScript Solution

9
Comments 1
2 min read
Sales by Match (HackerRank Javascript Solution)

Sales by Match (HackerRank Javascript Solution)

12
Comments
1 min read
Bill Division (HackerRank Javascript Solution)

Bill Division (HackerRank Javascript Solution)

8
Comments
1 min read
Day 10 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#457. Circular Array Loop(Medium/JavaScript)

Day 10 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#457. Circular Array Loop(Medium/JavaScript)

7
Comments
4 min read
Data Structures Used in Competitive Programming

Data Structures Used in Competitive Programming

12
Comments
3 min read
Introduction to Data Structures

Introduction to Data Structures

49
Comments 8
6 min read
Migratory Birds (HackerRank - JavaScript Solution)

Migratory Birds (HackerRank - JavaScript Solution)

10
Comments
1 min read
Python: A Beginner's Guide to Data Structures and Algorithms

Python: A Beginner's Guide to Data Structures and Algorithms

26
Comments 3
3 min read
Data Structures vs. Algorithms?

Data Structures vs. Algorithms?

10
Comments
3 min read
Leetcode diary: 80. Remove Duplicates from Sorted Array II

Leetcode diary: 80. Remove Duplicates from Sorted Array II

7
Comments
4 min read
Power of Two, A Google Interview Question - C++ Solution

Power of Two, A Google Interview Question - C++ Solution

41
Comments 1
4 min read
Data Structures and algorithims in Javascript

Data Structures and algorithims in Javascript

9
Comments 2
12 min read
Introduction to Data Structures and Algorithims with Python

Introduction to Data Structures and Algorithims with Python

8
Comments
3 min read
Introduction to Data Structures and Algorithms With Python

Introduction to Data Structures and Algorithms With Python

7
Comments
5 min read
Introduction to Data Structures and Algorithms with Modern JavaScript

Introduction to Data Structures and Algorithms with Modern JavaScript

11
Comments
3 min read
Introduction to Data Structures and Algorithms With Python

Introduction to Data Structures and Algorithms With Python

14
Comments 4
5 min read
Data Structures and Algorithims with python.

Data Structures and Algorithims with python.

7
Comments
19 min read
JavaScript Data Structures and Algorithm.

JavaScript Data Structures and Algorithm.

3
Comments
2 min read
loading...