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.
Leetcode diary: Merge Sorted Array

Leetcode diary: Merge Sorted Array

1
Comments
4 min read
Refactoring the Game

Refactoring the Game

14
Comments 2
4 min read
Improving your JavaScript with Enums

Improving your JavaScript with Enums

92
Comments 15
2 min read
Слияние отсортированных массивов

Слияние отсортированных массивов

42
Comments 2
1 min read
Tree traversal algorithms in Python every dev should know

Tree traversal algorithms in Python every dev should know

2
Comments
9 min read
Second player wins! Building the code and make the tests pass

Second player wins! Building the code and make the tests pass

3
Comments
4 min read
First player wins! Building the code and make the tests pass

First player wins! Building the code and make the tests pass

5
Comments
4 min read
Meta Hacker Cup - Questions A, B1, C1

Meta Hacker Cup - Questions A, B1, C1

3
Comments
2 min read
Do you know the Big-O notation?

Do you know the Big-O notation?

3
Comments
2 min read
Building the tests when the first player wins

Building the tests when the first player wins

1
Comments
2 min read
Game draw! Building the code and make the tests pass

Game draw! Building the code and make the tests pass

6
Comments
2 min read
Building the tests when players draw

Building the tests when players draw

Comments
2 min read
LeetCode - 121. Best Time to Buy and Sell Stock. DSA #3 Explanation.

LeetCode - 121. Best Time to Buy and Sell Stock. DSA #3 Explanation.

2
Comments
4 min read
Internet Protocol Version 7

Internet Protocol Version 7

1
Comments
7 min read
[#1]create a graph(based on adjacent matrix) and implement an DFS iterator

[#1]create a graph(based on adjacent matrix) and implement an DFS iterator

1
Comments
5 min read
Mimicking a database index

Mimicking a database index

Comments
6 min read
isPalindrome? (LinkedList)

isPalindrome? (LinkedList)

1
Comments
2 min read
Recommendation system #3 - Redis & Node Architecture

Recommendation system #3 - Redis & Node Architecture

4
Comments
2 min read
ELI5ing LeetCode : Minimum Size Subarray Sum

ELI5ing LeetCode : Minimum Size Subarray Sum

1
Comments
15 min read
A Maze of Twisty Trampolines, All Alike

A Maze of Twisty Trampolines, All Alike

1
Comments
2 min read
Initializing the project

Initializing the project

4
Comments
1 min read
Rock Paper and Scissors with Elixir

Rock Paper and Scissors with Elixir

6
Comments
1 min read
Suggest me something for reading

Suggest me something for reading

27
Comments 13
1 min read
Bridges in the graph

Bridges in the graph

Comments
3 min read
Binary Ops and Gene Compression in Go

Binary Ops and Gene Compression in Go

6
Comments
6 min read
Find Duplicate Subtrees

Find Duplicate Subtrees

5
Comments
1 min read
Binary Search

Binary Search

1
Comments
2 min read
Advent of Code 2018 Day 2 Part 2 - Solution and Explanation

Advent of Code 2018 Day 2 Part 2 - Solution and Explanation

Comments
10 min read
Валидация скобочной последовательности

Валидация скобочной последовательности

51
Comments 2
1 min read
How to use Leetcode effectively

How to use Leetcode effectively

5
Comments
6 min read
Python: Binary Search Algorithm 🔎

Python: Binary Search Algorithm 🔎

1
Comments
2 min read
Packet Scanners

Packet Scanners

1
Comments
4 min read
The Big O

The Big O

1
Comments
5 min read
LeetCode - Remove Duplicates from Sorted List II

LeetCode - Remove Duplicates from Sorted List II

3
Comments
4 min read
Practical Bloom Filters

Practical Bloom Filters

25
Comments
5 min read
Javascript — Sair de um loop for em JavaScript

Javascript — Sair de um loop for em JavaScript

Comments
1 min read
Writing a new programming language. Part IV: Boolean expressions and if statements

Writing a new programming language. Part IV: Boolean expressions and if statements

11
Comments 1
8 min read
Leetcode survival guide

Leetcode survival guide

33
Comments
11 min read
Memory Reallocation

Memory Reallocation

1
Comments
3 min read
Search in Rotated Sorted Array (Leetcode 33)

Search in Rotated Sorted Array (Leetcode 33)

4
Comments
2 min read
Let's practice Insert Sort (Javascript)

Let's practice Insert Sort (Javascript)

3
Comments
1 min read
Recursive Circus

Recursive Circus

2
Comments
5 min read
Deep Dive into Data structures using Javascript - Circular Queue (Ring Buffer)

Deep Dive into Data structures using Javascript - Circular Queue (Ring Buffer)

1
Comments
9 min read
Minimum Spanning Tree (Kruskal's algorithm) Using Disjoint set

Minimum Spanning Tree (Kruskal's algorithm) Using Disjoint set

1
Comments
2 min read
Palindrome Checker FCC Solution

Palindrome Checker FCC Solution

3
Comments
5 min read
Distinct Subsequence Leetcode

Distinct Subsequence Leetcode

Comments
2 min read
Algorithms Part 1 - Bags, Queues and Stacks

Algorithms Part 1 - Bags, Queues and Stacks

Comments
9 min read
Simple search vs Binary search Algorithms.

Simple search vs Binary search Algorithms.

35
Comments 13
2 min read
I can create any Algorithm

I can create any Algorithm

7
Comments
2 min read
Advent of Code 2018 Day 2 Part 1 - Solution and Explanation

Advent of Code 2018 Day 2 Part 1 - Solution and Explanation

3
Comments
7 min read
LeetCode - Combination Sum III

LeetCode - Combination Sum III

3
Comments 1
5 min read
How to check if a number is a power of two for O(1)

How to check if a number is a power of two for O(1)

8
Comments 6
1 min read
Particle Swarm

Particle Swarm

Comments
4 min read
Longest Increasing Subsequence

Longest Increasing Subsequence

Comments
4 min read
Shortest Common Super-sequence Leetcode (Same as Lcs string)

Shortest Common Super-sequence Leetcode (Same as Lcs string)

4
Comments
2 min read
Two Pointers Technique

Two Pointers Technique

9
Comments
4 min read
Single Number - Unique one

Single Number - Unique one

5
Comments
1 min read
DFS Templates in Python

DFS Templates in Python

18
Comments
2 min read
Two Pointers Templates in Python

Two Pointers Templates in Python

11
Comments
1 min read
Dynamic Programming in Python

Dynamic Programming in Python

8
Comments
1 min read
loading...