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.
Solution: Container With Most Water

Solution: Container With Most Water

31
Comments 5
4 min read
8 Data Structures every Python programmer needs to know

8 Data Structures every Python programmer needs to know

64
Comments
14 min read
Basic Big O notation and Selection Sort

Basic Big O notation and Selection Sort

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

Solve Leetcode Problems and Get Offers From Your Dream Companies

4
Comments
2 min read
Solution: Minimum Remove to Make Valid Parentheses

Solution: Minimum Remove to Make Valid Parentheses

10
Comments 1
4 min read
Data Structure and algorithm with Javascript(Intro)

Data Structure and algorithm with Javascript(Intro)

5
Comments
1 min read
Elementary Data Structures with JavaScript - Binary trees - PART 3🚀

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

24
Comments
2 min read
Solution: Find Kth Largest XOR Coordinate Value

Solution: Find Kth Largest XOR Coordinate Value

6
Comments
5 min read
Introduction to Linked List

Introduction to Linked List

13
Comments 2
2 min read
Useful GitHub repositories for learning Web Development

Useful GitHub repositories for learning Web Development

8
Comments 1
3 min read
Solution: The K Weakest Rows in a Matrix (ver. 1)

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

6
Comments
4 min read
What is a search algorithm?

What is a search algorithm?

2
Comments
2 min read
JavaScript Sorting Algorithms: Merge Sort

JavaScript Sorting Algorithms: Merge Sort

14
Comments
6 min read
Solution: Letter Case Permutation

Solution: Letter Case Permutation

10
Comments 1
3 min read
Regex Words, Vowels, Consonants, and Sentences in Ruby

Regex Words, Vowels, Consonants, and Sentences in Ruby

6
Comments
5 min read
Elementary Data Structures with JavaScript - Binary trees - PART 2🚀

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

23
Comments
4 min read
Solution: Simplify Path

Solution: Simplify Path

5
Comments
3 min read
872. Leaf-Similar Trees

872. Leaf-Similar Trees

4
Comments
1 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

3
Comments
3 min read
Solution: Sort the Matrix Diagonally

Solution: Sort the Matrix Diagonally

11
Comments
4 min read
199. Binary Tree Right Side View

199. Binary Tree Right Side View

6
Comments
1 min read
617. Merge Two Binary Trees

617. Merge Two Binary Trees

5
Comments
1 min read
Solution: Maximum Score From Removing Substrings (ver. 2)

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

11
Comments
4 min read
Selection Sort Algorithm Analysis and implementation in C

Selection Sort Algorithm Analysis and implementation in C

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

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

7
Comments
4 min read
Solution: Minimum Operations to Make a Subsequence

Solution: Minimum Operations to Make a Subsequence

6
Comments
3 min read
Solution: Concatenation of Consecutive Binary Numbers

Solution: Concatenation of Consecutive Binary Numbers

5
Comments
2 min read
Solution: Is Graph Bipartite?

Solution: Is Graph Bipartite?

6
Comments 1
4 min read
Data Structures: Arrays

Data Structures: Arrays

4
Comments 1
6 min read
How I Ruined a Radar System

How I Ruined a Radar System

19
Comments
9 min read
Solution: Shortest Path in Binary Matrix

Solution: Shortest Path in Binary Matrix

11
Comments
5 min read
Caesar Concatenation

Caesar Concatenation

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

Do you even Refactor? 001

5
Comments 2
1 min read
Construct the Cypher string based on the given conditions

Construct the Cypher string based on the given conditions

5
Comments
3 min read
Solution: Number of Steps to Reduce a Number to Zero

Solution: Number of Steps to Reduce a Number to Zero

11
Comments 3
2 min read
Free Code Camp – Basic Algorithm Scripting - Confirm The Ending

Free Code Camp – Basic Algorithm Scripting - Confirm The Ending

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

FizzBuzz Lightyear: to `Infinity` and beyond!

6
Comments
3 min read
543. Diameter of Binary Tree

543. Diameter of Binary Tree

5
Comments
1 min read
Solution: Valid Anagram

Solution: Valid Anagram

10
Comments 1
2 min read
Solution: Copy List with Random Pointer

Solution: Copy List with Random Pointer

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

Swapping two numbers using arithmetic operators

8
Comments
1 min read
JavaScript Sorting Algorithms: Insertion Sort

JavaScript Sorting Algorithms: Insertion Sort

13
Comments
3 min read
Solution: Convert BST to Greater Tree

Solution: Convert BST to Greater Tree

4
Comments
2 min read
Sorting algorithms: JavaScript - Heap Sort 🚀

Sorting algorithms: JavaScript - Heap Sort 🚀

22
Comments
3 min read
Merkle Trees and Bitcoin

Merkle Trees and Bitcoin

6
Comments
7 min read
Data Structures in JavaScript: Shortest Path Graph Traversal

Data Structures in JavaScript: Shortest Path Graph Traversal

7
Comments
9 min read
Solution: Peeking Iterator

Solution: Peeking Iterator

5
Comments
3 min read
Algorithm to find the maximum consecutive ones (Java and Javascript )

Algorithm to find the maximum consecutive ones (Java and Javascript )

4
Comments
3 min read
Algorithm Practice: Reverse Words in a String

Algorithm Practice: Reverse Words in a String

11
Comments
6 min read
Sorting algorithms: JavaScript - Merge Sort 🚀

Sorting algorithms: JavaScript - Merge Sort 🚀

41
Comments 1
3 min read
Complete Data Structures and Algorithms Questions in sequence || DS & Algo Questions for Practice of all types

Complete Data Structures and Algorithms Questions in sequence || DS & Algo Questions for Practice of all types

41
Comments
67 min read
Separate -ives and +ives maintaining their order

Separate -ives and +ives maintaining their order

6
Comments 2
2 min read
Sorting algorithms: JavaScript - Quick Sort Algorithm🚀

Sorting algorithms: JavaScript - Quick Sort Algorithm🚀

34
Comments
3 min read
Solution: Shortest Distance to a Character

Solution: Shortest Distance to a Character

7
Comments
3 min read
Solution: Change Minimum Characters to Satisfy One of Three Conditions

Solution: Change Minimum Characters to Satisfy One of Three Conditions

8
Comments
5 min read
Algorithm Practice: Two Sum

Algorithm Practice: Two Sum

117
Comments 11
6 min read
Solution: Binary Tree Right Side View

Solution: Binary Tree Right Side View

6
Comments
2 min read
Solution: Decode XORed Permutation

Solution: Decode XORed Permutation

5
Comments
3 min read
Prep For Interviews Like a PRO!

Prep For Interviews Like a PRO!

86
Comments 2
1 min read
Book Recommendation

Book Recommendation

6
Comments
1 min read
loading...