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: 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
FizzBuzz Lightyear: to `Infinity` and beyond!

FizzBuzz Lightyear: to `Infinity` and beyond!

6
Comments
3 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
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

9
Comments
1 min read
Solution: Convert BST to Greater Tree

Solution: Convert BST to Greater Tree

4
Comments
2 min read
JavaScript Sorting Algorithms: Insertion Sort

JavaScript Sorting Algorithms: Insertion Sort

13
Comments
3 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 Practice: Reverse Words in a String

Algorithm Practice: Reverse Words in a String

11
Comments
6 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
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
Solution: Longest Harmonious Subsequence

Solution: Longest Harmonious Subsequence

4
Comments
2 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)

3
Comments
2 min read
Solution: Next Permutation

Solution: Next Permutation

102
Comments
3 min read
100 Algorithm Challenge - Explained and solved- Algorithm 1(Easy)

100 Algorithm Challenge - Explained and solved- Algorithm 1(Easy)

5
Comments
2 min read
Leetcode Solutions Index

Leetcode Solutions Index

60
Comments 2
11 min read
Understanding the time complexity in a simple manner(Part 1) || DSA || prerequisite

Understanding the time complexity in a simple manner(Part 1) || DSA || prerequisite

2
Comments
5 min read
Solution: Path With Minimum Effort

Solution: Path With Minimum Effort

5
Comments
4 min read
Solution: Linked List Cycle

Solution: Linked List Cycle

6
Comments
3 min read
How does an elevator works?

How does an elevator works?

11
Comments
4 min read
Data Structures and Algorithms: Introduction

Data Structures and Algorithms: Introduction

123
Comments 1
8 min read
Solution: Smallest String With A Given Numeric Value

Solution: Smallest String With A Given Numeric Value

5
Comments 2
3 min read
The big STL Algorithms tutorial: sorting operations

The big STL Algorithms tutorial: sorting operations

8
Comments
8 min read
Solution: Trim a Binary Search Tree

Solution: Trim a Binary Search Tree

23
Comments
3 min read
Solution: Minimize Deviation in Array

Solution: Minimize Deviation in Array

6
Comments 2
4 min read
Solution: Vertical Order Traversal of a Binary Tree

Solution: Vertical Order Traversal of a Binary Tree

5
Comments
4 min read
Data Structures in JavaScript: Breadth-First Search Graph Traversal

Data Structures in JavaScript: Breadth-First Search Graph Traversal

58
Comments
9 min read
Introduction to Algorithms

Introduction to Algorithms

4
Comments
2 min read
Bubble Sort

Bubble Sort

7
Comments
2 min read
The 5 Concepts Every Programmer Must Understand

The 5 Concepts Every Programmer Must Understand

19
Comments 1
3 min read
What is the logarithmic runtime O(log(n))?

What is the logarithmic runtime O(log(n))?

11
Comments
7 min read
Random Generation (with efficient exclusions)

Random Generation (with efficient exclusions)

2
Comments
3 min read
Day 37 of 100DaysOfCode: Basic Data Structure, Stack

Day 37 of 100DaysOfCode: Basic Data Structure, Stack

2
Comments
3 min read
Using DFS to implement getElementById

Using DFS to implement getElementById

14
Comments 1
2 min read
The FizzBuzz problem

The FizzBuzz problem

3
Comments 6
2 min read
Solve LeetCode Problems | Remove All Adjacent Duplicates in String II.

Solve LeetCode Problems | Remove All Adjacent Duplicates in String II.

3
Comments
4 min read
Google Typeahead System Design

Google Typeahead System Design

7
Comments
6 min read
loading...