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.
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

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

Finding Nth Fibonacci number in constant time.

4
Comments
1 min read
Javascript Searching Algorithms

Javascript Searching Algorithms

68
Comments 1
8 min read
Finished Stanford Algorithms Course. Here is what to expect from this Masterpiece.

Finished Stanford Algorithms Course. Here is what to expect from this Masterpiece.

18
Comments 1
4 min read
How To Solve Algorithm And Data Structure Problems [Tips]

How To Solve Algorithm And Data Structure Problems [Tips]

23
Comments
4 min read
Three Number Sum (2 Pointer) in Python

Three Number Sum (2 Pointer) in Python

7
Comments 1
1 min read
Solving Number Of Islands Using A Depth-First Search 🏝️

Solving Number Of Islands Using A Depth-First Search 🏝️

6
Comments
4 min read
What is TLS? Transport Layer Security encryption explained in plain english

What is TLS? Transport Layer Security encryption explained in plain english

82
Comments 3
5 min read
Sudoku Solver – Backtracking & deduction

Sudoku Solver – Backtracking & deduction

5
Comments
1 min read
The big STL Algorithms tutorial: modifying sequence operations - how to get distinct elements

The big STL Algorithms tutorial: modifying sequence operations - how to get distinct elements

8
Comments
5 min read
Maximum subarray in dynamic programming in Nim

Maximum subarray in dynamic programming in Nim

8
Comments
3 min read
⭐ this GitHub repository for Array pseudo-codes! 🎉

⭐ this GitHub repository for Array pseudo-codes! 🎉

29
Comments 2
1 min read
TIL - Generating Permutations and API Level Testing

TIL - Generating Permutations and API Level Testing

6
Comments
2 min read
#008 DS&A - Graphs

#008 DS&A - Graphs

11
Comments
5 min read
Leetcode 3. Longest Substring Without Repeating Characters

Leetcode 3. Longest Substring Without Repeating Characters

8
Comments
1 min read
Today I Learned: Number of Ways to Make Coin Changes

Today I Learned: Number of Ways to Make Coin Changes

6
Comments
1 min read
I am a Crude Software Engineer

I am a Crude Software Engineer

11
Comments 1
3 min read
Today I Learned: Invert Binary Tree

Today I Learned: Invert Binary Tree

6
Comments 2
1 min read
Today I Learned: BST Traversal

Today I Learned: BST Traversal

22
Comments 2
1 min read
Learning Tries in Javascript

Learning Tries in Javascript

27
Comments 3
2 min read
Today I Learned: Breadth-First Search on a Tree

Today I Learned: Breadth-First Search on a Tree

6
Comments
1 min read
Today I Learned: Permutations

Today I Learned: Permutations

6
Comments
1 min read
Today I Learned: Min-Max Stack

Today I Learned: Min-Max Stack

6
Comments
2 min read
5 Simple Recursion Programs in Python.

5 Simple Recursion Programs in Python.

8
Comments
3 min read
Hyperloglog: Cardinality Estimation

Hyperloglog: Cardinality Estimation

5
Comments
6 min read
Use Backtracking Algorithm to Solve Sudoku

Use Backtracking Algorithm to Solve Sudoku

48
Comments 3
3 min read
#007 DS&A - Trees

#007 DS&A - Trees

11
Comments
9 min read
The weight of choice is heavy

The weight of choice is heavy

23
Comments 4
11 min read
Tim sort, the fastest sort used in v8 and Python

Tim sort, the fastest sort used in v8 and Python

6
Comments 2
9 min read
I created Image Sorting Visualizer with Javascript

I created Image Sorting Visualizer with Javascript

13
Comments 1
2 min read
TIL - Tarjan's Algorithm

TIL - Tarjan's Algorithm

10
Comments
3 min read
Floyd Warshall algorithm

Floyd Warshall algorithm

4
Comments
1 min read
Learning data structure and Algorithm

Learning data structure and Algorithm

6
Comments 3
1 min read
Sorting Algorithms in Javascript

Sorting Algorithms in Javascript

31
Comments
2 min read
JavaScript - Leetcode: Check If N and Its Double Exist

JavaScript - Leetcode: Check If N and Its Double Exist

7
Comments
4 min read
Bloom Filters

Bloom Filters

14
Comments
6 min read
loading...