DEV Community

loading...

Algorithms

Heap, Binary Tree, Data Structure it doesn't matter. This tag should be used for anything Algorithm & Data Structure focused.

👋 Sign in for the ability sort posts by top and latest.
Big-O Notation and Time Complexity Explained!

Big-O Notation and Time Complexity Explained!

Reactions 2 Comments
4 min read
Solution: Score of Parentheses

Solution: Score of Parentheses

Reactions 4 Comments
3 min read
Data Structures in JavaScript: Depth-First Search Graph Traversal

Data Structures in JavaScript: Depth-First Search Graph Traversal

Reactions 2 Comments
7 min read
What is Machine Learning?

What is Machine Learning?

Reactions 2 Comments
4 min read
Solution: Longest Word in Dictionary through Deleting

Solution: Longest Word in Dictionary through Deleting

Reactions 3 Comments
3 min read
Solution: Find the Most Competitive Subsequence

Solution: Find the Most Competitive Subsequence

Reactions 2 Comments
3 min read
Sum of N Fibonacci Numbers

Sum of N Fibonacci Numbers

Reactions 7 Comments 1
3 min read
The 'Dutch Flag' Quick Sort

The 'Dutch Flag' Quick Sort

Reactions 2 Comments
7 min read
Stack Data Structure

Stack Data Structure

Reactions 3 Comments
3 min read
Using a heap to find the minimum cost to modify an array

Using a heap to find the minimum cost to modify an array

Reactions 2 Comments
1 min read
Solution: Search a 2D Matrix II

Solution: Search a 2D Matrix II

Reactions 3 Comments
3 min read
Sorting algorithms you need to master for your next coding interview

Sorting algorithms you need to master for your next coding interview

Reactions 8 Comments
5 min read
Solve Leetcode Problems and Get Offers From Your Dream Companies||Tweets count per frequency

Solve Leetcode Problems and Get Offers From Your Dream Companies||Tweets count per frequency

Comments
3 min read
Solution: Minimum Remove to Make Valid Parentheses

Solution: Minimum Remove to Make Valid Parentheses

Reactions 7 Comments
4 min read
2 Algoritma Pernyortiran Sederhana Pada Javascript

2 Algoritma Pernyortiran Sederhana Pada Javascript

Reactions 11 Comments 6
4 min read
Solution: The K Weakest Rows in a Matrix (ver. 2)

Solution: The K Weakest Rows in a Matrix (ver. 2)

Reactions 9 Comments
5 min read
Solution: The K Weakest Rows in a Matrix (ver. 1)

Solution: The K Weakest Rows in a Matrix (ver. 1)

Reactions 6 Comments
4 min read
Solution: Sort the Matrix Diagonally

Solution: Sort the Matrix Diagonally

Reactions 5 Comments
4 min read
Solution: Valid Anagram

Solution: Valid Anagram

Reactions 6 Comments
2 min read
Approximation Algorithms (Introduction)

Approximation Algorithms (Introduction)

Reactions 8 Comments 2
5 min read
Binary search algorithm illustration

Binary search algorithm illustration

Reactions 5 Comments
2 min read
Solution: Shortest Path in Binary Matrix

Solution: Shortest Path in Binary Matrix

Reactions 8 Comments
5 min read
JavaScript Bubble Sort

JavaScript Bubble Sort

Reactions 6 Comments
2 min read
Solution: Roman to Integer

Solution: Roman to Integer

Reactions 37 Comments 4
4 min read
LeetCode 703: Kth Largest Element in a Stream (Python)

LeetCode 703: Kth Largest Element in a Stream (Python)

Reactions 3 Comments
1 min read
Swapping two numbers using arithmetic operators

Swapping two numbers using arithmetic operators

Reactions 5 Comments
1 min read
Introduction to Linked List

Introduction to Linked List

Reactions 12 Comments 2
2 min read
Short Bytes - Linked List Reversal

Short Bytes - Linked List Reversal

Reactions 5 Comments
3 min read
Data Structures in JavaScript: Shortest Path Graph Traversal

Data Structures in JavaScript: Shortest Path Graph Traversal

Reactions 6 Comments
9 min read
JavaScript Sorting Algorithms: Merge Sort

JavaScript Sorting Algorithms: Merge Sort

Reactions 6 Comments
6 min read
How does an elevator works?

How does an elevator works?

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

Solution: Count Ways to Make Array With Product

Reactions 3 Comments
5 min read
Solution: Vertical Order Traversal of a Binary Tree

Solution: Vertical Order Traversal of a Binary Tree

Reactions 3 Comments
4 min read
Solution: Is Graph Bipartite?

Solution: Is Graph Bipartite?

Reactions 5 Comments
4 min read
Fast Power Calculation

Fast Power Calculation

Reactions 3 Comments
1 min read
Solution: Smallest String With A Given Numeric Value

Solution: Smallest String With A Given Numeric Value

Reactions 2 Comments 2
3 min read
PANCAKE SORTING

PANCAKE SORTING

Reactions 13 Comments 4
2 min read
Fast Factorial Algorithm

Fast Factorial Algorithm

Reactions 8 Comments
3 min read
Explaining Authentication Security Issues through Memes!

Explaining Authentication Security Issues through Memes!

Reactions 3 Comments
2 min read
Solve Leetcode Problems and Get Offers From Your Dream Companies

Solve Leetcode Problems and Get Offers From Your Dream Companies

Reactions 2 Comments
2 min read
Back to basics - The Big O (Part 1)

Back to basics - The Big O (Part 1)

Reactions 2 Comments
3 min read
Linked List-I

Linked List-I

Reactions 5 Comments 2
3 min read
Solution: Arithmetic Slices

Solution: Arithmetic Slices

Reactions 9 Comments
4 min read
Elementary Data Structures with JavaScript - Binary trees - PART 3🚀

Elementary Data Structures with JavaScript - Binary trees - PART 3🚀

Reactions 19 Comments
2 min read
Using DFS to implement getElementById

Using DFS to implement getElementById

Reactions 10 Comments 1
2 min read
What is a search algorithm?

What is a search algorithm?

Reactions 2 Comments
2 min read
872. Leaf-Similar Trees

872. Leaf-Similar Trees

Reactions 3 Comments
1 min read
Solution: Building Boxes

Solution: Building Boxes

Reactions 4 Comments
3 min read
Solution: Decode XORed Permutation

Solution: Decode XORed Permutation

Reactions 4 Comments
3 min read
Merging array tables in JS

Merging array tables in JS

Reactions 6 Comments 1
1 min read
199. Binary Tree Right Side View

199. Binary Tree Right Side View

Reactions 5 Comments
1 min read
617. Merge Two Binary Trees

617. Merge Two Binary Trees

Reactions 3 Comments
1 min read
Solution: Maximum Score From Removing Substrings (ver. 1)

Solution: Maximum Score From Removing Substrings (ver. 1)

Reactions 6 Comments
4 min read
Leetcode Weekly Contest 225 (Change Minimum Characters to Satisfy One of Three Conditions)

Leetcode Weekly Contest 225 (Change Minimum Characters to Satisfy One of Three Conditions)

Reactions 3 Comments
2 min read
How I Ruined a Radar System

How I Ruined a Radar System

Reactions 17 Comments
9 min read
Reacty Loops : fully web-based music production

Reacty Loops : fully web-based music production

Reactions 7 Comments
1 min read
Do you even Refactor? 002

Do you even Refactor? 002

Reactions 2 Comments
1 min read
Do you even Refactor? 001

Do you even Refactor? 001

Reactions 4 Comments 2
1 min read
FizzBuzz Lightyear: to `Infinity` and beyond!

FizzBuzz Lightyear: to `Infinity` and beyond!

Reactions 5 Comments
3 min read
543. Diameter of Binary Tree

543. Diameter of Binary Tree

Reactions 3 Comments
1 min read
loading...