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.
Using divide and conquer: closest pair of points

Using divide and conquer: closest pair of points

2
Comments
4 min read
Solution: Construct Target Array With Multiple Sums

Solution: Construct Target Array With Multiple Sums

10
Comments 3
5 min read
Trie Data Structure - Insert Operation

Trie Data Structure - Insert Operation

4
Comments
4 min read
How the terms AI, Machine Learning and Operations Research differs from each other and relates to each other

How the terms AI, Machine Learning and Operations Research differs from each other and relates to each other

6
Comments
1 min read
Understanding the Bubble Sort Algorithm

Understanding the Bubble Sort Algorithm

4
Comments
3 min read
102. Binary Tree Level Order Traversal (javascript solution)

102. Binary Tree Level Order Traversal (javascript solution)

5
Comments
1 min read
Solution: Delete Operation for Two Strings

Solution: Delete Operation for Two Strings

13
Comments 2
4 min read
Simplest permutations

Simplest permutations

5
Comments
1 min read
Solution: Convert Sorted List to Binary Search Tree

Solution: Convert Sorted List to Binary Search Tree

17
Comments 2
4 min read
LeetCode 45. Jump Game II (javascript solution)

LeetCode 45. Jump Game II (javascript solution)

5
Comments
1 min read
Determine Whether Two Date Ranges Overlap in PHP

Determine Whether Two Date Ranges Overlap in PHP

6
Comments
1 min read
LeetCode 377. Combination Sum IV (javascript solution)

LeetCode 377. Combination Sum IV (javascript solution)

3
Comments
1 min read
LeetCode 221. Maximal Square (javascript solution)

LeetCode 221. Maximal Square (javascript solution)

5
Comments
1 min read
LeetCode 174. Dungeon Game (javascript solution)

LeetCode 174. Dungeon Game (javascript solution)

4
Comments
2 min read
Leetcode 665. Non-decreasing Array

Leetcode 665. Non-decreasing Array

5
Comments
2 min read
Solution: Jump Game II

Solution: Jump Game II

17
Comments 1
3 min read
Sorting Algorithms: Insertion Sort

Sorting Algorithms: Insertion Sort

5
Comments
3 min read
Solution: Non-decreasing Array

Solution: Non-decreasing Array

33
Comments 1
4 min read
Linked List Data Structure Using Javascript

Linked List Data Structure Using Javascript

5
Comments
2 min read
Concatenating with strings.Builder Quickly in Golang

Concatenating with strings.Builder Quickly in Golang

4
Comments 2
3 min read
Drawing book problem - Hackerrank

Drawing book problem - Hackerrank

5
Comments
2 min read
Part 1: Basics of Hashing

Part 1: Basics of Hashing

5
Comments
4 min read
Solution: Running Sum of 1d Array

Solution: Running Sum of 1d Array

29
Comments 1
3 min read
HackerRank Series #2: Compare the Triplets

HackerRank Series #2: Compare the Triplets

33
Comments 2
3 min read
HackerRank Series #1: Simple Array Sum

HackerRank Series #1: Simple Array Sum

37
Comments 2
2 min read
Solution: Beautiful Arrangement II

Solution: Beautiful Arrangement II

12
Comments
4 min read
LeetCode 122. Best Time to Buy and Sell Stock II (javascript)

LeetCode 122. Best Time to Buy and Sell Stock II (javascript)

7
Comments 6
1 min read
Understanding Singly Linked Lists and some of their uses

Understanding Singly Linked Lists and some of their uses

5
Comments
7 min read
LeetCode 337. House Robber III (javascript solution)

LeetCode 337. House Robber III (javascript solution)

6
Comments
1 min read
Solution: Course Schedule III

Solution: Course Schedule III

17
Comments 1
4 min read
Solution: Prefix and Suffix Search

Solution: Prefix and Suffix Search

21
Comments 4
5 min read
LeetCode 198. House Robber (javascript solution)

LeetCode 198. House Robber (javascript solution)

13
Comments
1 min read
LeetCode 213. House Robber II (javascript solution)

LeetCode 213. House Robber II (javascript solution)

5
Comments
1 min read
LeetCode 516. Longest Palindromic Subsequence (javascript solution)

LeetCode 516. Longest Palindromic Subsequence (javascript solution)

4
Comments 1
1 min read
Solution: Deepest Leaves Sum

Solution: Deepest Leaves Sum

6
Comments
4 min read
LeetCode 647. Palindromic Substrings (javascript solution)

LeetCode 647. Palindromic Substrings (javascript solution)

6
Comments
1 min read
Implementing testing in Golang

Implementing testing in Golang

17
Comments
4 min read
Exploring backtracking

Exploring backtracking

10
Comments
4 min read
Stack Data Structure Using Javascript

Stack Data Structure Using Javascript

23
Comments 2
2 min read
Understanding Big O Notation as a Software Developer

Understanding Big O Notation as a Software Developer

27
Comments
13 min read
Distributed Consensus - Proof of Stake

Distributed Consensus - Proof of Stake

6
Comments
3 min read
Distributed Consensus - Proof-of-Work

Distributed Consensus - Proof-of-Work

3
Comments
4 min read
The 15 Algorithm Challenges I Solved in May 2020

The 15 Algorithm Challenges I Solved in May 2020

7
Comments
10 min read
Solution: Powerful Integers

Solution: Powerful Integers

9
Comments
3 min read
Hash Table explained like I'm 5

Hash Table explained like I'm 5

2
Comments
9 min read
[algorithm] Multiple pointers pattern explained! (EPISODE 1)

[algorithm] Multiple pointers pattern explained! (EPISODE 1)

6
Comments
2 min read
Solution: Find First and Last Position of Element in Sorted Array

Solution: Find First and Last Position of Element in Sorted Array

22
Comments
4 min read
Machine learning in Scratch?? 🐱💡

Machine learning in Scratch?? 🐱💡

45
Comments 2
5 min read
Some simple tips for Combination Sum -Backtracking

Some simple tips for Combination Sum -Backtracking

5
Comments
2 min read
Duplicate Zeroes, Naive Solution

Duplicate Zeroes, Naive Solution

6
Comments
3 min read
Reduction of environmental pollution caused through vehicles using Graph theory

Reduction of environmental pollution caused through vehicles using Graph theory

6
Comments
4 min read
All About Knapsack Problem | python

All About Knapsack Problem | python

6
Comments
6 min read
1143. Longest Common Subsequence (javascript solution)

1143. Longest Common Subsequence (javascript solution)

6
Comments
1 min read
How I Prepared for the Google Internship Interview.

How I Prepared for the Google Internship Interview.

124
Comments 3
7 min read
Dealing with objects in javascript

Dealing with objects in javascript

2
Comments
2 min read
ALGORITHMIC TRADING

ALGORITHMIC TRADING

6
Comments
3 min read
Solution: Power of Three

Solution: Power of Three

15
Comments 1
3 min read
How I created biased dice.

How I created biased dice.

4
Comments 1
1 min read
Dequeue data structure simplified

Dequeue data structure simplified

4
Comments
2 min read
LeetCode 96. Unique Binary Search Trees (javascript solution)

LeetCode 96. Unique Binary Search Trees (javascript solution)

7
Comments 1
1 min read
loading...