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

Reindeer Olympics

4
Comments
3 min read
How to implement a hash table in Java (Part 1)

How to implement a hash table in Java (Part 1)

9
Comments
11 min read
How can I measure Big O complexity in a Python method?

How can I measure Big O complexity in a Python method?

Comments
1 min read
Programming chose me

Programming chose me

5
Comments 2
1 min read
ASM.JS & SIMD.JS - Awesome JavaScript performance

ASM.JS & SIMD.JS - Awesome JavaScript performance

Comments
2 min read
LeetCode - Compare Version Numbers

LeetCode - Compare Version Numbers

Comments
4 min read
Remove Duplicates from Sorted Array

Remove Duplicates from Sorted Array

Comments
2 min read
Algorithms and Data Structures - P - 1.0

Algorithms and Data Structures - P - 1.0

5
Comments
2 min read
LeetCode -[Roman to Integer] JS variations

LeetCode -[Roman to Integer] JS variations

Comments
2 min read
Choose the right primary key to save a large amount of disk I/O

Choose the right primary key to save a large amount of disk I/O

8
Comments
9 min read
Squares With Three Sides

Squares With Three Sides

Comments
2 min read
It Hangs in the Balance

It Hangs in the Balance

Comments
5 min read
No Such Thing as Too Much

No Such Thing as Too Much

Comments
6 min read
Algorithms: Breadth First Search

Algorithms: Breadth First Search

2
Comments
2 min read
Ordenação por flutuação - Bubble Sort

Ordenação por flutuação - Bubble Sort

1
Comments
2 min read
The Logic Behind Tic-Tac-Toe game

The Logic Behind Tic-Tac-Toe game

19
Comments
3 min read
No Time for a Taxicab

No Time for a Taxicab

3
Comments
3 min read
LeetCode - Evaluate Reverse Polish Notation

LeetCode - Evaluate Reverse Polish Notation

1
Comments
4 min read
selection sort algorithm

selection sort algorithm

2
Comments
1 min read
Merge Two Sorted Lists

Merge Two Sorted Lists

1
Comments
1 min read
Algorithms: Bubble Sort

Algorithms: Bubble Sort

5
Comments
3 min read
Algorithm part 5: Generate as many Binary number as you want

Algorithm part 5: Generate as many Binary number as you want

Comments
1 min read
How to solve Mexican wave algorithm in JavaScript

How to solve Mexican wave algorithm in JavaScript

1
Comments
2 min read
A Maze of Twisty Little Cubicles

A Maze of Twisty Little Cubicles

Comments
3 min read
Introduction to algorithms: Big O notation, time complexity

Introduction to algorithms: Big O notation, time complexity

7
Comments 1
8 min read
is HeapSort fast?

is HeapSort fast?

1
Comments 1
2 min read
Science for Hungry People

Science for Hungry People

1
Comments
4 min read
Algorithm part-2 : Brackets Validation

Algorithm part-2 : Brackets Validation

Comments
1 min read
Algorithm part-1 : Next Greater Element Algorithm

Algorithm part-1 : Next Greater Element Algorithm

Comments
1 min read
LeetCode - Minimum Path Sum

LeetCode - Minimum Path Sum

Comments
5 min read
LeetCode - Permutations

LeetCode - Permutations

Comments
4 min read
LeetCode - Two Sum II - Input Array Is Sorted

LeetCode - Two Sum II - Input Array Is Sorted

Comments
3 min read
Two-Factor Authentication

Two-Factor Authentication

Comments
4 min read
Multi-Threaded FizzBuzz

Multi-Threaded FizzBuzz

1
Comments
4 min read
Dragon Checksum

Dragon Checksum

Comments
7 min read
LeetCode - Path Sum II

LeetCode - Path Sum II

Comments
5 min read
Os Fundamentos da Notação Big-O

Os Fundamentos da Notação Big-O

10
Comments 1
12 min read
LeetCode Daily Problem - 967. Numbers With Same Consecutive Differences

LeetCode Daily Problem - 967. Numbers With Same Consecutive Differences

3
Comments
2 min read
Palindrome

Palindrome

Comments
2 min read
Remove Element

Remove Element

6
Comments 4
1 min read
Not Quite Lisp

Not Quite Lisp

Comments
2 min read
I Was Told There Would Be No Math

I Was Told There Would Be No Math

Comments
2 min read
Perfectly Spherical Houses in a Vacuum

Perfectly Spherical Houses in a Vacuum

3
Comments 1
3 min read
The list problem

The list problem

1
Comments 1
2 min read
Do you use '&' before the parameter name in PHP?

Do you use '&' before the parameter name in PHP?

1
Comments
1 min read
Some Assembly Required

Some Assembly Required

Comments
4 min read
Bubble Sort vs Insertion Sort vs Selection Sort: When and why to use what?

Bubble Sort vs Insertion Sort vs Selection Sort: When and why to use what?

2
Comments
4 min read
Introduction to data structures

Introduction to data structures

16
Comments 4
8 min read
Binary Insertion Sort

Binary Insertion Sort

2
Comments 2
3 min read
Matchsticks

Matchsticks

1
Comments
2 min read
Infinite Elves and Infinite Houses

Infinite Elves and Infinite Houses

4
Comments
6 min read
Wizard Simulator 20XX

Wizard Simulator 20XX

1
Comments
5 min read
Breadth-first search of a binary tree

Breadth-first search of a binary tree

2
Comments
3 min read
Functions in Memory (Stack)

Functions in Memory (Stack)

3
Comments
2 min read
Scrambled Letters and Hash

Scrambled Letters and Hash

Comments
7 min read
LeetCode - Jump Game II

LeetCode - Jump Game II

5
Comments
4 min read
Grid Computing

Grid Computing

Comments
4 min read
An Elephant Named Joseph

An Elephant Named Joseph

Comments
5 min read
Algorithms Challenge (1) How to print out Fibonacci series in two lines code

Algorithms Challenge (1) How to print out Fibonacci series in two lines code

5
Comments 1
1 min read
Introduction to Data Structures and Algorithms | 000

Introduction to Data Structures and Algorithms | 000

Comments
2 min read
loading...