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.
Ramanujan's 1103 and 26390: An Addition-Only Sequence, and Two Integers That Remember π 58

Ramanujan's 1103 and 26390: An Addition-Only Sequence, and Two Integers That Remember π 58

Comments
5 min read
Binary vs. jump search: why the target changes the probe count

Binary vs. jump search: why the target changes the probe count

Comments
3 min read
O(1) Per-Tick Pathfinding and Velocity-Stall Recovery in Deterministic JS Agents

O(1) Per-Tick Pathfinding and Velocity-Stall Recovery in Deterministic JS Agents

Comments
2 min read
Some mahjong solitaire deals can't be won. I deal mine backwards so they always can

Some mahjong solitaire deals can't be won. I deal mine backwards so they always can

Comments
8 min read
I simulated 200,000 double-elimination brackets to find where the losers should drop

I simulated 200,000 double-elimination brackets to find where the losers should drop

Comments
5 min read
Routing by Rumor: The Bellman-Ford Distance Vector Algorithm

Routing by Rumor: The Bellman-Ford Distance Vector Algorithm

Comments
2 min read
Day 0: Starting My DSA Journey With Java — Time to Level Up 🚀

Day 0: Starting My DSA Journey With Java — Time to Level Up 🚀

Comments
3 min read
Byg en skæreliste-beregner til træ med JavaScript

Byg en skæreliste-beregner til træ med JavaScript

Comments
7 min read
Merge Sort Explained with Simple Python Examples

Merge Sort Explained with Simple Python Examples

Comments
6 min read
Scoring a survey game when you have zero players on day one

Scoring a survey game when you have zero players on day one

Comments
2 min read
A Secret Santa draw is backtracking, not a shuffle: no self-picks, no couples, no peeking

A Secret Santa draw is backtracking, not a shuffle: no self-picks, no couples, no peeking

Comments
4 min read
DSA

DSA

1
Comments
1 min read
TradingView MACD ReLoaded Strategy: Best Settings, Backtest

TradingView MACD ReLoaded Strategy: Best Settings, Backtest

Comments
11 min read
Reverse-Engineering Winter School Closures: How Meteorological Physics & Fleet Safety Drive Superintendent Decisions

Reverse-Engineering Winter School Closures: How Meteorological Physics & Fleet Safety Drive Superintendent Decisions

Comments
3 min read
Assemble Parts in Minimum Time: Greedy Min-Heap Solution in Java (Code Interview Problem)

Assemble Parts in Minimum Time: Greedy Min-Heap Solution in Java (Code Interview Problem)

Comments
6 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.