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.
The Word Pattern Algorithm: How to Test if a String Follows a Pattern

The Word Pattern Algorithm: How to Test if a String Follows a Pattern

12
Comments 1
5 min read
Bubble Sort Talk

Bubble Sort Talk

6
Comments
4 min read
Lista ou Array? Qual usar?

Lista ou Array? Qual usar?

3
Comments
4 min read
An introduction to Merge Sort [Algorithm]

An introduction to Merge Sort [Algorithm]

6
Comments
3 min read
Binary Search in JavaScript

Binary Search in JavaScript

9
Comments
1 min read
Master Array Data structure.

Master Array Data structure.

19
Comments
2 min read
Is this Number the Sum of Two Square Integers? Solving The Sum of Squares Algorithm Two Ways

Is this Number the Sum of Two Square Integers? Solving The Sum of Squares Algorithm Two Ways

8
Comments
4 min read
DS: Singly Linked List in Python

DS: Singly Linked List in Python

7
Comments
3 min read
Solving "Chunky Monkey" / freeCodeCamp Algorithm Challenges

Solving "Chunky Monkey" / freeCodeCamp Algorithm Challenges

8
Comments 2
4 min read
Algorithms: Common Years Problem

Algorithms: Common Years Problem

6
Comments 4
2 min read
The Gauss Sum, and Solving for the Missing Number

The Gauss Sum, and Solving for the Missing Number

14
Comments 2
3 min read
Solving "Mutations" / freeCodeCamp Algorithm Challenges

Solving "Mutations" / freeCodeCamp Algorithm Challenges

8
Comments 2
4 min read
Algorithms Problem Solving: Running Array Sum

Algorithms Problem Solving: Running Array Sum

9
Comments
1 min read
Understanding Merge Sort in Javascript.

Understanding Merge Sort in Javascript.

9
Comments 1
4 min read
Dots, Strings and JavaScript pt. 1

Dots, Strings and JavaScript pt. 1

16
Comments
3 min read
Turning 38 into 2: How to Solve the Add Digits Problem

Turning 38 into 2: How to Solve the Add Digits Problem

11
Comments 7
5 min read
Algorithms Problem Solving: Discount for prices

Algorithms Problem Solving: Discount for prices

5
Comments
2 min read
The Climbing Staircase Problem: How to Solve It, and Why the Fibonacci Numbers are Relevant

The Climbing Staircase Problem: How to Solve It, and Why the Fibonacci Numbers are Relevant

111
Comments 10
5 min read
Algorithms Problem Solving: Sort the Matrix Diagonally

Algorithms Problem Solving: Sort the Matrix Diagonally

6
Comments
2 min read
Understanding topological sort by cooking some Biryani

Understanding topological sort by cooking some Biryani

51
Comments
5 min read
Kotlin Collections - zipWithNext

Kotlin Collections - zipWithNext

5
Comments
1 min read
Data Structures & Algorithms in JavaScript(Sets)

Data Structures & Algorithms in JavaScript(Sets)

13
Comments
4 min read
Algorithms Problem Solving: Odd in Matrix

Algorithms Problem Solving: Odd in Matrix

5
Comments 3
2 min read
A Cautionary Tale on Using JavaScript's fill() Method

A Cautionary Tale on Using JavaScript's fill() Method

9
Comments 1
4 min read
Sequencing Fibonacci numbers

Sequencing Fibonacci numbers

16
Comments 1
2 min read
Generating permutations

Generating permutations

9
Comments
5 min read
The beauty of recursion and pattern matching in functional programming languages

The beauty of recursion and pattern matching in functional programming languages

10
Comments
3 min read
Solving Algorithm Challenges in Haskell: Anagrams

Solving Algorithm Challenges in Haskell: Anagrams

12
Comments 6
5 min read
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

17
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 18
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
15 JavaScript Tips: best practices to simplify your code

15 JavaScript Tips: best practices to simplify your code

123
Comments 2
10 min read
Sudoku Part I: Is the Board Valid?

Sudoku Part I: Is the Board Valid?

10
Comments
9 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

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