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.
How to generate all subarrays in javascript in 2022?

How to generate all subarrays in javascript in 2022?

3
Comments
1 min read
Apache ShardingSphere 5.2.0 is Released!

Apache ShardingSphere 5.2.0 is Released!

3
Comments
13 min read
Like a GIF For Your Yard

Like a GIF For Your Yard

1
Comments
2 min read
RPG Simulator 20XX

RPG Simulator 20XX

Comments
5 min read
Data Structures : Introduction to Graphs

Data Structures : Introduction to Graphs

3
Comments
2 min read
The Most Important Leetcode Patterns

The Most Important Leetcode Patterns

7
Comments
1 min read
Binary trees, a coding interview must-know

Binary trees, a coding interview must-know

3
Comments
6 min read
All in a Single Night

All in a Single Night

1
Comments
2 min read
Volume of lakes

Volume of lakes

1
Comments
2 min read
Elves Look, Elves Say

Elves Look, Elves Say

1
Comments
2 min read
LeetCode - Longest Common Subsequence

LeetCode - Longest Common Subsequence

4
Comments
8 min read
How to build a simple router for a Node.js application

How to build a simple router for a Node.js application

2
Comments
3 min read
LeetCode - Jump Game III

LeetCode - Jump Game III

1
Comments
4 min read
Substring of length k with k-1 distinct elements

Substring of length k with k-1 distinct elements

Comments
2 min read
Ordenação por seleção - Selection Sort

Ordenação por seleção - Selection Sort

2
Comments
2 min read
UTF-8 Validation

UTF-8 Validation

Comments
1 min read
[Algorithms] 13 - Network Delay Time

[Algorithms] 13 - Network Delay Time

Comments
3 min read
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)

8
Comments
11 min read
Various Consistencies in Distributed Systems

Various Consistencies in Distributed Systems

6
Comments
2 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
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

3
Comments 1
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
LeetCode - Unique Path II

LeetCode - Unique Path II

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
How to Find The Frequency of Characters in a String or Array

How to Find The Frequency of Characters in a String or Array

4
Comments
2 min read
No Time for a Taxicab

No Time for a Taxicab

3
Comments
3 min read
The Logic Behind Tic-Tac-Toe game

The Logic Behind Tic-Tac-Toe game

4
Comments
3 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

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

4
Comments 1
8 min read
is HeapSort fast?

is HeapSort fast?

Comments
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
Quiz Maker Algorithm

Quiz Maker Algorithm

Comments
5 min read
LeetCode - Search a 2D Matrix

LeetCode - Search a 2D Matrix

Comments
4 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

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