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.
Is JavaScript's .shift() Method a Performance Boost?

Is JavaScript's .shift() Method a Performance Boost?

31
Comments 19
2 min read
Transposing and Reversing: How to Rotate a 2D Matrix 90 Degrees

Transposing and Reversing: How to Rotate a 2D Matrix 90 Degrees

19
Comments 2
6 min read
Solving "Where do I Belong" / freeCodeCamp Algorithm Challenges

Solving "Where do I Belong" / freeCodeCamp Algorithm Challenges

9
Comments 1
5 min read
Kadane's Algorithm and Its Proof - Max/Min Sum Subarray Problem

Kadane's Algorithm and Its Proof - Max/Min Sum Subarray Problem

2
Comments
1 min read
Not an "Easy" Algorithm: Rotating an Array, Three Ways

Not an "Easy" Algorithm: Rotating an Array, Three Ways

88
Comments 19
11 min read
Algorithms and data structures behind Minesweeper Battle

Algorithms and data structures behind Minesweeper Battle

28
Comments 2
8 min read
Solving "Falsy Bouncer" / freeCodeCamp Algorithm Challenges

Solving "Falsy Bouncer" / freeCodeCamp Algorithm Challenges

4
Comments 1
3 min read
Algorithms Problem Solving: Construct Binary Search Tree from Preorder Traversal

Algorithms Problem Solving: Construct Binary Search Tree from Preorder Traversal

6
Comments
2 min read
Searching an Array, Two Ways

Searching an Array, Two Ways

9
Comments 3
6 min read
Solving "Slice and Splice" / freeCodeCamp Algorithm Challenges

Solving "Slice and Splice" / freeCodeCamp Algorithm Challenges

7
Comments
3 min read
Algorithms Problem Solving: Insert into Binary Search Tree

Algorithms Problem Solving: Insert into Binary Search Tree

5
Comments
2 min read
KMP String Search Algorithm

KMP String Search Algorithm

8
Comments 1
3 min read
Design your own Singly Linked List using Javascript functions

Design your own Singly Linked List using Javascript functions

3
Comments
6 min read
The Working Developer's Guide To Algorithms

The Working Developer's Guide To Algorithms

30
Comments
7 min read
Sudoku Part I: Is the Board Valid?

Sudoku Part I: Is the Board Valid?

10
Comments
9 min read
15 JavaScript Tips: best practices to simplify your code

15 JavaScript Tips: best practices to simplify your code

123
Comments 2
10 min read
To WASM or not to WASM?

To WASM or not to WASM?

60
Comments 8
7 min read
Learn JavaScript by building a UI framework: Part 6 - Intro to Virtual DOM Algorithms

Learn JavaScript by building a UI framework: Part 6 - Intro to Virtual DOM Algorithms

121
Comments 2
5 min read
Dynamic Programming for Pythonistas

Dynamic Programming for Pythonistas

6
Comments 2
3 min read
Algorithms Problem Solving: Shuffle the array

Algorithms Problem Solving: Shuffle the array

9
Comments 1
2 min read
Rating Algorithm + Example written in JS, PHP, and Go

Rating Algorithm + Example written in JS, PHP, and Go

6
Comments
2 min read
Algorithms Problem Solving: Maximum 69 Number

Algorithms Problem Solving: Maximum 69 Number

7
Comments
1 min read
Traveling Salesman Problem

Traveling Salesman Problem

20
Comments
7 min read
Log(N)simplified!!!

Log(N)simplified!!!

2
Comments
2 min read
The Longest Palindromic Substring: Solving the Problem Using Constant Space

The Longest Palindromic Substring: Solving the Problem Using Constant Space

67
Comments 5
14 min read
Como criar uma extensão para contabilizar o tempo que você passa em páginas Web

Como criar uma extensão para contabilizar o tempo que você passa em páginas Web

11
Comments
3 min read
Container with Most Water

Container with Most Water

7
Comments 4
5 min read
Algorithms Problem Solving: Destination City

Algorithms Problem Solving: Destination City

5
Comments
2 min read
Don't Underestimate the Two Pointers: Removing the N-th Node from the End of a Linked List

Don't Underestimate the Two Pointers: Removing the N-th Node from the End of a Linked List

11
Comments
5 min read
Algorithms Problem Solving: Number of students

Algorithms Problem Solving: Number of students

11
Comments
2 min read
Solving the Best Time to Buy and Sell Stocks Problem in One Pass

Solving the Best Time to Buy and Sell Stocks Problem in One Pass

27
Comments 2
7 min read
Understanding racial bias in machine learning algorithms

Understanding racial bias in machine learning algorithms

54
Comments 6
10 min read
Algorithms Problem Solving: Balanced Strings

Algorithms Problem Solving: Balanced Strings

9
Comments
2 min read
Understanding Selection Sort in Javascript.

Understanding Selection Sort in Javascript.

4
Comments 1
3 min read
Removing an Element in an Array In-Place

Removing an Element in an Array In-Place

22
Comments 2
5 min read
Algorithms Problem Solving: to Lower case

Algorithms Problem Solving: to Lower case

7
Comments
3 min read
how to master competitive programming?

how to master competitive programming?

24
Comments 2
1 min read
Algorithms Problem Solving: Tree to greater sum

Algorithms Problem Solving: Tree to greater sum

6
Comments
3 min read
Coding Interview Question: Fibonacci Number

Coding Interview Question: Fibonacci Number

10
Comments 1
2 min read
I found the most amazing resource for easing functions!

I found the most amazing resource for easing functions!

5
Comments
1 min read
Recursion and Space Complexity

Recursion and Space Complexity

32
Comments 8
2 min read
Number of Ways to Paint N × 3 Grid - a short saga

Number of Ways to Paint N × 3 Grid - a short saga

6
Comments 1
6 min read
Algorithms Problem Solving: Deepest Leaves Sum

Algorithms Problem Solving: Deepest Leaves Sum

6
Comments
3 min read
Algorithms Problem Solving: Reduce to zero

Algorithms Problem Solving: Reduce to zero

17
Comments 8
2 min read
Computing permutations of a list in F#

Computing permutations of a list in F#

8
Comments 3
3 min read
The ZigZag Conversion Problem

The ZigZag Conversion Problem

23
Comments 1
7 min read
Context free language parsing with Earley Algorithm

Context free language parsing with Earley Algorithm

11
Comments
6 min read
Algorithms Problem Solving: Even Number of Digits

Algorithms Problem Solving: Even Number of Digits

4
Comments
2 min read
Reversing a String in Place

Reversing a String in Place

13
Comments 1
4 min read
Algorithms Problem Solving: Equal Reversed Arrays

Algorithms Problem Solving: Equal Reversed Arrays

7
Comments
2 min read
Finding the Longest Common Prefix

Finding the Longest Common Prefix

12
Comments 2
5 min read
How I calculate capacity for Systems Design

How I calculate capacity for Systems Design

113
Comments 3
4 min read
Algorithms Problem Solving: Group the people

Algorithms Problem Solving: Group the people

5
Comments 1
3 min read
The big STL Algorithms tutorial: modifying sequence operations - remove calls

The big STL Algorithms tutorial: modifying sequence operations - remove calls

6
Comments
5 min read
Deleting a node in a Linked list, when you have access to only that node.

Deleting a node in a Linked list, when you have access to only that node.

6
Comments
1 min read
Algorithms Problem Solving: Cloned Binary Tree

Algorithms Problem Solving: Cloned Binary Tree

5
Comments
2 min read
The Longest Substring With No Repeating Characters

The Longest Substring With No Repeating Characters

11
Comments 1
6 min read
Algorithms Problem Solving: Ransom Note

Algorithms Problem Solving: Ransom Note

33
Comments 6
2 min read
Algorithms Problem Solving: Subtract product and sum

Algorithms Problem Solving: Subtract product and sum

6
Comments
2 min read
Another Algorithm: Rotate Array with JavaScript

Another Algorithm: Rotate Array with JavaScript

7
Comments
3 min read
loading...