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.
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
Algorithm - Combinations, of Four, and Sum

Algorithm - Combinations, of Four, and Sum

4
Comments
4 min read
Sporifica Virus

Sporifica Virus

1
Comments
5 min read
Disk Defragmentation

Disk Defragmentation

1
Comments
4 min read
Knot Hash

Knot Hash

1
Comments
6 min read
Compile-Time Hash in Plain C (Not Only C++) is Now Possible!

Compile-Time Hash in Plain C (Not Only C++) is Now Possible!

6
Comments 1
6 min read
Valid Parentheses

Valid Parentheses

4
Comments
1 min read
Raft (not)almighty: how to make it more robust

Raft (not)almighty: how to make it more robust

28
Comments
15 min read
Minimum number of Insertion and deletion needed to convert String A to String B or make both the strings equal (same as lcs)

Minimum number of Insertion and deletion needed to convert String A to String B or make both the strings equal (same as lcs)

3
Comments
2 min read
Minimum Insertion steps needed to make a string palindrome (Same as LCS)

Minimum Insertion steps needed to make a string palindrome (Same as LCS)

3
Comments
1 min read
Algorithms: Depth First Search

Algorithms: Depth First Search

4
Comments
2 min read
LeetCode - Combination Sum II

LeetCode - Combination Sum II

3
Comments
5 min read
Electromagnetic Moat

Electromagnetic Moat

2
Comments
4 min read
206. Reverse Linked List[Leetcode][C++]

206. Reverse Linked List[Leetcode][C++]

6
Comments 2
1 min read
I Heard You Like Registers

I Heard You Like Registers

1
Comments
2 min read
Memory Maneuver

Memory Maneuver

4
Comments
6 min read
Automating button creation

Automating button creation

7
Comments 3
3 min read
Bubble sort algorithm

Bubble sort algorithm

8
Comments 2
3 min read
Fractal Art

Fractal Art

Comments
7 min read
Validate Credit Card Numbers using Python

Validate Credit Card Numbers using Python

32
Comments 7
3 min read
Longest Common Prefix

Longest Common Prefix

4
Comments
1 min read
How to Crack the Staircase Problem with JavaScript using Memoization

How to Crack the Staircase Problem with JavaScript using Memoization

3
Comments
1 min read
🗺️ Delivering Information System cartography as a Graph with Neo4J

🗺️ Delivering Information System cartography as a Graph with Neo4J

2
Comments 1
9 min read
Linked List Implementation in C with User Input

Linked List Implementation in C with User Input

21
Comments 2
5 min read
LeetCode - Combination Sum

LeetCode - Combination Sum

Comments
6 min read
Rod cutting Problem (similar to unbounded knapsack)

Rod cutting Problem (similar to unbounded knapsack)

2
Comments
1 min read
Duet

Duet

1
Comments
7 min read
Coprocessor Conflagration

Coprocessor Conflagration

1
Comments
4 min read
Leetcode Challenge #3

Leetcode Challenge #3

5
Comments
3 min read
Marble Mania

Marble Mania

5
Comments
8 min read
A importância do LinkedIn para Dev's e como usar

A importância do LinkedIn para Dev's e como usar

2
Comments
4 min read
How does the garbage collection algorithm (Mark-Sweep) work? 🗑️🧹

How does the garbage collection algorithm (Mark-Sweep) work? 🗑️🧹

3
Comments
3 min read
Coin Change 2 Leetcode

Coin Change 2 Leetcode

1
Comments
1 min read
[Algorithms] 10 - 3Sum

[Algorithms] 10 - 3Sum

1
Comments
2 min read
[Algorithms] 9 - Product of Array Except Self

[Algorithms] 9 - Product of Array Except Self

1
Comments
2 min read
Bubble and Selection Sort Algorithms using JavaScript

Bubble and Selection Sort Algorithms using JavaScript

20
Comments
2 min read
Dueling Generators

Dueling Generators

1
Comments
3 min read
[Algorithms] 8 - Valid Binary Search Tree

[Algorithms] 8 - Valid Binary Search Tree

1
Comments
3 min read
Leetcode Challenge #2

Leetcode Challenge #2

9
Comments 4
4 min read
Substrate Pallet Code Analysis: Sudo

Substrate Pallet Code Analysis: Sudo

1
Comments 1
4 min read
How to Match a Phone Number with Regex and JavaScript

How to Match a Phone Number with Regex and JavaScript

1
Comments
5 min read
loading...