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: 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
The Little Prince [Solution | Javascript] - Computational Thinking 101 | Beginner

The Little Prince [Solution | Javascript] - Computational Thinking 101 | Beginner

10
Comments
2 min read
The Little Prince - Computational Thinking 101 | Beginner

The Little Prince - Computational Thinking 101 | Beginner

15
Comments 1
2 min read
Summing an Array with Nested Arrays

Summing an Array with Nested Arrays

4
Comments
5 min read
Implementing Binary Search in Java

Implementing Binary Search in Java

3
Comments
8 min read
Solve Leetcode Problems and Get Offers From Your Dream Companies | Problem 202. Happy Number(Easy)

Solve Leetcode Problems and Get Offers From Your Dream Companies | Problem 202. Happy Number(Easy)

3
Comments
2 min read
Sorting multidimensional PHP arrays by object values with accented character

Sorting multidimensional PHP arrays by object values with accented character

17
Comments 4
4 min read
Run Leetcode locally in Python and C++

Run Leetcode locally in Python and C++

2
Comments
1 min read
Swapping A and B without 3rd variable

Swapping A and B without 3rd variable

5
Comments 2
1 min read
Reacty Loops : fully web-based music production

Reacty Loops : fully web-based music production

7
Comments 2
1 min read
A Gentle Introduction To Computer Algorithms: Implementing the Bubble Sort algorithm in six languages.

A Gentle Introduction To Computer Algorithms: Implementing the Bubble Sort algorithm in six languages.

23
Comments
11 min read
Time Machine - Computational Thinking 101 | Beginner

Time Machine - Computational Thinking 101 | Beginner

10
Comments
2 min read
Vending Machine -Computational Thinking 101 | Beginner

Vending Machine -Computational Thinking 101 | Beginner

20
Comments
3 min read
What Does `slice(1, -1)` Do?

What Does `slice(1, -1)` Do?

13
Comments 1
1 min read
Solving Codewars Kata "Find the odd int 6-kyu with JavaScript (3 solutions)

Solving Codewars Kata "Find the odd int 6-kyu with JavaScript (3 solutions)

2
Comments
1 min read
Leetcode 733. Flood Fill

Leetcode 733. Flood Fill

2
Comments
2 min read
How do you sync data in your apps?

How do you sync data in your apps?

4
Comments
1 min read
The big STL Algorithms tutorial: partitioning operations

The big STL Algorithms tutorial: partitioning operations

11
Comments 4
6 min read
Solve Leetcode Problems and Get Offers From Your Dream Companies | K-diff Pairs in an Array

Solve Leetcode Problems and Get Offers From Your Dream Companies | K-diff Pairs in an Array

10
Comments 2
5 min read
6 Hard Dynamic Programming Problems Made Easy

6 Hard Dynamic Programming Problems Made Easy

30
Comments
11 min read
Stacks, Queues, and Linked Lists in JS

Stacks, Queues, and Linked Lists in JS

2
Comments
5 min read
Anatomy of a Singly Linked List in JS

Anatomy of a Singly Linked List in JS

2
Comments
4 min read
Big O Notation - explained as easily as possible

Big O Notation - explained as easily as possible

12
Comments
3 min read
JavaScript: How to implement a dictionary/map in 3mins.

JavaScript: How to implement a dictionary/map in 3mins.

26
Comments 4
5 min read
The Guard Statement: Guard clause ou Early return.

The Guard Statement: Guard clause ou Early return.

10
Comments
2 min read
What is one of the most common mistakes beginner developers make

What is one of the most common mistakes beginner developers make

7
Comments
2 min read
What is Big O and why is it important?

What is Big O and why is it important?

7
Comments
6 min read
A Glimpse on Digital Currency

A Glimpse on Digital Currency

5
Comments 3
3 min read
Cryptography for programmers 4: Public key crypto and Protocols

Cryptography for programmers 4: Public key crypto and Protocols

24
Comments 1
8 min read
Appreciating Maps in Javascript

Appreciating Maps in Javascript

4
Comments
2 min read
Data structures and Complexity part2 : linear data part1 (arrays and linked-Lists)

Data structures and Complexity part2 : linear data part1 (arrays and linked-Lists)

5
Comments
13 min read
LeetCode with C# - Reverse A String

LeetCode with C# - Reverse A String

3
Comments 8
3 min read
Today I Learned: Searching Inside a Sorted Matrix

Today I Learned: Searching Inside a Sorted Matrix

8
Comments 1
1 min read
Easiest way to convert HTMLCollection into an Array!

Easiest way to convert HTMLCollection into an Array!

31
Comments 2
2 min read
The Superlative Guide to Big O

The Superlative Guide to Big O

21
Comments
2 min read
loading...