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.
Learning Algorithms  -  Merge Sort

Learning Algorithms  -  Merge Sort

20
Comments
4 min read
Let's get better in algorithms with Leetcode

Let's get better in algorithms with Leetcode

2
Comments
1 min read
Introdução aos fundamentos de programação

Introdução aos fundamentos de programação

5
Comments
7 min read
Sorting Algorithms in Javascript Part 2

Sorting Algorithms in Javascript Part 2

51
Comments 3
2 min read
Maximum Product of Three Numbers

Maximum Product of Three Numbers

2
Comments
1 min read
Algorithms - Sorting

Algorithms - Sorting

7
Comments
4 min read
SuperJSON - JSON on steroids

SuperJSON - JSON on steroids

6
Comments
4 min read
Understanding Dynamic Programming

Understanding Dynamic Programming

3
Comments
17 min read
Data Structures: QuadTree

Data Structures: QuadTree

8
Comments
6 min read
Understanding the Sliding Window Technique in Algorithms

Understanding the Sliding Window Technique in Algorithms

27
Comments 2
3 min read
Removing duplicate objects from an Array

Removing duplicate objects from an Array

7
Comments 2
2 min read
LeetCode: Serialize and Deserialize N-ary Tree

LeetCode: Serialize and Deserialize N-ary Tree

2
Comments
1 min read
Leetcode #234 - Palindrome Linked List

Leetcode #234 - Palindrome Linked List

9
Comments 1
2 min read
Binary Search Algorithm

Binary Search Algorithm

7
Comments 1
3 min read
Natural Search Algorithm

Natural Search Algorithm

6
Comments
2 min read
Trie Data structure with Design Patterns

Trie Data structure with Design Patterns

6
Comments
7 min read
First Dev Post: Yet Another Post About Interviewing for FAANG #100DaysOfCode

First Dev Post: Yet Another Post About Interviewing for FAANG #100DaysOfCode

6
Comments
4 min read
Sieve of Eratosthenes Algorithm to find Prime Number

Sieve of Eratosthenes Algorithm to find Prime Number

12
Comments
2 min read
Introduction to string edit distance and Levenshtein implementation in Golang

Introduction to string edit distance and Levenshtein implementation in Golang

6
Comments 1
7 min read
WORD COUNTER: A simple python script that counts a specific word in text file

WORD COUNTER: A simple python script that counts a specific word in text file

7
Comments 1
1 min read
Invert Binary Tree Python

Invert Binary Tree Python

5
Comments
1 min read
Leetcode - 3SUM (with JavaScript)

Leetcode - 3SUM (with JavaScript)

13
Comments 1
2 min read
Using Two-Pointer Technique to Optimize Algorithm Solutions

Using Two-Pointer Technique to Optimize Algorithm Solutions

22
Comments 4
3 min read
Leetcode: Best Time to Buy and Sell Stocks II Python Solution With Explanation

Leetcode: Best Time to Buy and Sell Stocks II Python Solution With Explanation

5
Comments
2 min read
How to draw flowChart(diagrams) in markdown using Mermaid!!

How to draw flowChart(diagrams) in markdown using Mermaid!!

8
Comments
1 min read
How to Represent a Graph in C#

How to Represent a Graph in C#

39
Comments 2
8 min read
Answer: Flatten nested object/array in javascript

Answer: Flatten nested object/array in javascript

4
Comments
1 min read
How to generate permutations in JavaScript?

How to generate permutations in JavaScript?

6
Comments
1 min read
Merge Sort Algorithm

Merge Sort Algorithm

5
Comments
2 min read
The Sample Programs Repos Are Ready for Hacktoberfest 2020

The Sample Programs Repos Are Ready for Hacktoberfest 2020

7
Comments 1
5 min read
Algo Problem: Two Sum with JavaScript and Ruby

Algo Problem: Two Sum with JavaScript and Ruby

3
Comments
3 min read
Merge Sort

Merge Sort

2
Comments 3
2 min read
Data Structures: Binary Search Trees with Go

Data Structures: Binary Search Trees with Go

4
Comments
7 min read
JavaScript Algorithms and Data Structures

JavaScript Algorithms and Data Structures

7
Comments
5 min read
Implement 5 Sorting Algorithms using JavaScript.

Implement 5 Sorting Algorithms using JavaScript.

12
Comments
7 min read
Divide And Conquer Algorithms With Python

Divide And Conquer Algorithms With Python

4
Comments
2 min read
#010 DS&A - Time and Space Analysis

#010 DS&A - Time and Space Analysis

7
Comments
12 min read
I created Golang edit distance & string comparison library : Go-Edlib

I created Golang edit distance & string comparison library : Go-Edlib

4
Comments
2 min read
Machine Learning: Linear Regression Algorithm With One Variable

Machine Learning: Linear Regression Algorithm With One Variable

6
Comments
7 min read
Another way to search for an element in an array in JavaScript

Another way to search for an element in an array in JavaScript

5
Comments
1 min read
Kamenetsky's Algorithm

Kamenetsky's Algorithm

4
Comments
1 min read
Writing a Binary Search Algorithm in JavaScript

Writing a Binary Search Algorithm in JavaScript

27
Comments
4 min read
Fisher–Yates shuffle

Fisher–Yates shuffle

7
Comments
3 min read
LeetCode 844. Backspace String Compare

LeetCode 844. Backspace String Compare

8
Comments
1 min read
LeetCode 977. Squares of a Sorted Array

LeetCode 977. Squares of a Sorted Array

5
Comments
1 min read
Algorithms Every Developer Should Know - Binary Search

Algorithms Every Developer Should Know - Binary Search

10
Comments
4 min read
JS String Encryption Algorithm

JS String Encryption Algorithm

8
Comments
6 min read
ArrayList In Java.

ArrayList In Java.

6
Comments 2
3 min read
Unfurling a Matrix in JS

Unfurling a Matrix in JS

6
Comments
4 min read
Making Change With Dynamic Programming 💰

Making Change With Dynamic Programming 💰

7
Comments
6 min read
Solution to algorithms exercise

Solution to algorithms exercise

5
Comments
2 min read
Cryptography Introduction: Block Ciphers

Cryptography Introduction: Block Ciphers

15
Comments
12 min read
Today I Learned: Remove Kth Node from the End of a Single Linked List

Today I Learned: Remove Kth Node from the End of a Single Linked List

6
Comments
1 min read
Two Ways to Rotate an Array in JavaScript

Two Ways to Rotate an Array in JavaScript

78
Comments 7
4 min read
#009 DS&A - Hashing

#009 DS&A - Hashing

7
Comments
5 min read
How to Implement Simulated Annealing Algorithm in Python

How to Implement Simulated Annealing Algorithm in Python

6
Comments
3 min read
Group Anagrams Python Solution

Group Anagrams Python Solution

6
Comments
2 min read
Find Duplicates in an Array

Find Duplicates in an Array

38
Comments 16
4 min read
Learning Heaps in Javascript

Learning Heaps in Javascript

6
Comments
3 min read
Finding Nth Fibonacci number in constant time.

Finding Nth Fibonacci number in constant time.

4
Comments
1 min read
loading...