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.
Implement stack using array

Implement stack using array

Comments
1 min read
Implement Stack using Queue (using single queue)

Implement Stack using Queue (using single queue)

Comments
1 min read
A Shortest-Path CLI in Rust — Making a Min-Heap from a Max-Heap, Path Reconstruction, and Rejecting Negative Weights

A Shortest-Path CLI in Rust — Making a Min-Heap from a Max-Heap, Path Reconstruction, and Rejecting Negative Weights

Comments
4 min read
The Monotonic Stack: Like Gandalf's Staff for Array Problems

The Monotonic Stack: Like Gandalf's Staff for Array Problems

Comments
4 min read
Rebalancing a portfolio with only your next deposit (no selling)

Rebalancing a portfolio with only your next deposit (no selling)

Comments
4 min read
Building a scheduling optimizer for field service teams

Building a scheduling optimizer for field service teams

Comments
3 min read
Top K Frequent Elements

Top K Frequent Elements

Comments
1 min read
Find Median from Data Stream

Find Median from Data Stream

Comments
1 min read
Merge k Sorted Lists

Merge k Sorted Lists

Comments
2 min read
Building a Client-Side Grid Solver for Block Blast in React

Building a Client-Side Grid Solver for Block Blast in React

2
Comments
1 min read
Mastering 1A2B (Bulls and Cows): Strategy, Algorithms, and Deduction

Mastering 1A2B (Bulls and Cows): Strategy, Algorithms, and Deduction

Comments
5 min read
Implementing a cryptographically secure shuffle: Fisher-Yates with CSPRNG in JavaScript

Implementing a cryptographically secure shuffle: Fisher-Yates with CSPRNG in JavaScript

1
Comments
3 min read
Maximum Sum Combinations

Maximum Sum Combinations

Comments
1 min read
Kth Largest Element | Heaps

Kth Largest Element | Heaps

Comments
2 min read
Implement a Max Heap

Implement a Max Heap

Comments
1 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.