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.
I ran a million Secret Santa draws through my generator. Here's what the paper hat gets wrong

I ran a million Secret Santa draws through my generator. Here's what the paper hat gets wrong

Comments
7 min read
How I estimate FPS from Steam system requirements (and where it goes wrong)

How I estimate FPS from Steam system requirements (and where it goes wrong)

Comments
5 min read
Understanding Binary Lifting: Finding Ancestors Efficiently in Trees

Understanding Binary Lifting: Finding Ancestors Efficiently in Trees

Comments
11 min read
Fewest transfers was correct. It also told a stranger to pay my friend.

Fewest transfers was correct. It also told a stranger to pay my friend.

Comments
6 min read
The sliding window trick, and the one input that breaks it

The sliding window trick, and the one input that breaks it

Comments
3 min read
A proposed polynomial-time SAT solver concept

A proposed polynomial-time SAT solver concept

Comments
2 min read
Three text-processing tests to run before comparing Bulgarian documents

Three text-processing tests to run before comparing Bulgarian documents

Comments
2 min read
Avoid timing drift when exporting integer-millisecond animation frames

Avoid timing drift when exporting integer-millisecond animation frames

Comments
2 min read
Find the current animation frame when holds have different durations

Find the current animation frame when holds have different durations

Comments
2 min read
We let a profitable breakout strategy flip a coin for direction. It kept making money.

We let a profitable breakout strategy flip a coin for direction. It kept making money.

Comments
9 min read
Top 10 Software Engineer Interview Questions I’m Practicing This November

Top 10 Software Engineer Interview Questions I’m Practicing This November

Comments
11 min read
The Compound Interest of Code

The Compound Interest of Code

Comments
1 min read
El dígito de control del ISBN en JavaScript (y el error que no detecta)

El dígito de control del ISBN en JavaScript (y el error que no detecta)

Comments
2 min read
I Optimized a Button From O(n) to O(1). The Speed Didn't Matter.

I Optimized a Button From O(n) to O(1). The Speed Didn't Matter.

Comments
8 min read
Machine Learning From Scratch in Pure C: Module I — Supervised Learning & Foundations

Machine Learning From Scratch in Pure C: Module I — Supervised Learning & Foundations

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