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.
Splitting $100 three ways: who gets the last penny?

Splitting $100 three ways: who gets the last penny?

Comments
1 min read
a textbook layout heuristic was optimal in only 9 of 29 ER diagrams. I have the proofs.

a textbook layout heuristic was optimal in only 9 of 29 ER diagrams. I have the proofs.

Comments
5 min read
FFT's log exponent just halved: 4.47x fewer gates at N=2^20

FFT's log exponent just halved: 4.47x fewer gates at N=2^20

Comments
5 min read
Modeling Morning Commute Risk with 1.5km NOAA HRRR Data & Simplex Probability Normalization

Modeling Morning Commute Risk with 1.5km NOAA HRRR Data & Simplex Probability Normalization

Comments
5 min read
Slitting Layout in Python: Picking Strip Widths to Minimize Scrap

Slitting Layout in Python: Picking Strip Widths to Minimize Scrap

Comments
3 min read
The lookup table whose key doesn't determine its value

The lookup table whose key doesn't determine its value

Comments
4 min read
Which tournament format finds the best team? I ran 200,000 of each

Which tournament format finds the best team? I ran 200,000 of each

Comments
5 min read
3934. Smallest Unique Subarray

3934. Smallest Unique Subarray

Comments
5 min read
Quantum Python. A secret in one query: the Bernstein–Vazirani algorithm

Quantum Python. A secret in one query: the Bernstein–Vazirani algorithm

Comments
6 min read
2.25: the matrix exponent is final. I measured 2.99

2.25: the matrix exponent is final. I measured 2.99

Comments
5 min read
Your input is wrong by ten minutes. Which of your outputs survive?

Your input is wrong by ten minutes. Which of your outputs survive?

Comments
4 min read
El sesgo del módulo: por qué `x % n` no siempre es aleatorio (y cómo lo medí)

El sesgo del módulo: por qué `x % n` no siempre es aleatorio (y cómo lo medí)

Comments
4 min read
Building Deterministic Lockstep Simulation Engines with Python and NumPy

Building Deterministic Lockstep Simulation Engines with Python and NumPy

Comments
2 min read
Walkaround vs shove: what really happens when a PCB router hits an obstacle

Walkaround vs shove: what really happens when a PCB router hits an obstacle

Comments
9 min read
My Vivino: Replacing Legacy Rules with a Hybrid Recommender & Cold-Start ML Engine

My Vivino: Replacing Legacy Rules with a Hybrid Recommender & Cold-Start ML Engine

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