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 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
Two Pointers Technique

Two Pointers Technique

9
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
DFS Templates in Python

DFS Templates in Python

20
Comments
2 min read
Two Pointers Templates in Python

Two Pointers Templates in Python

12
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!

7
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
High-Entropy Passphrases

High-Entropy Passphrases

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
How to Solve Palindrome Problem with 1 Line of JavaScript

How to Solve Palindrome Problem with 1 Line of JavaScript

11
Comments 6
3 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
loading...