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 barcode check digits work (EAN-13, UPC-A, ISBN) with a tiny JavaScript function

How barcode check digits work (EAN-13, UPC-A, ISBN) with a tiny JavaScript function

2
Comments
3 min read
Scalability! But at what COST? Paying More to Be Slower

Scalability! But at what COST? Paying More to Be Slower

Comments
4 min read
This One Line Made My Python Queue 2,500x Slower (list.pop(0))

This One Line Made My Python Queue 2,500x Slower (list.pop(0))

Comments
3 min read
Linear Search vs. Binary Search: Which One Should You Use?

Linear Search vs. Binary Search: Which One Should You Use?

1
Comments
5 min read
A nested loop does not always quadruple: Big O in the kitchen

A nested loop does not always quadruple: Big O in the kitchen

Comments
4 min read
Generating Row-and-Column Sum Puzzles That Have Exactly One Solution

Generating Row-and-Column Sum Puzzles That Have Exactly One Solution

Comments
4 min read
Checking Borat quotes with Python's difflib: Wikiquote vs the film transcript

Checking Borat quotes with Python's difflib: Wikiquote vs the film transcript

Comments
6 min read
TradingView AlphaTrend Strategy: Best Settings, Backtest

TradingView AlphaTrend Strategy: Best Settings, Backtest

Comments
12 min read
I generated 9,000 nonograms. Only 1 in 6 pictures survived 15 15.

I generated 9,000 nonograms. Only 1 in 6 pictures survived 15 15.

1
Comments 1
4 min read
Hashing in DSA: Hash Maps, Hash Sets and Collisions

Hashing in DSA: Hash Maps, Hash Sets and Collisions

Comments
17 min read
0-1 knapsack problem: the most valuable set of items that fits (Python notebook)

0-1 knapsack problem: the most valuable set of items that fits (Python notebook)

Comments
2 min read
Why the Inspection Paradox Favors Long Intervals and Large Classes

Why the Inspection Paradox Favors Long Intervals and Large Classes

Comments
8 min read
Generating 1,000,000 Synthetic Medical Records in Seconds

Generating 1,000,000 Synthetic Medical Records in Seconds

Comments
2 min read
I built code search from scratch in Rust: half Zoekt’s index, 60x faster at p95

I built code search from scratch in Rust: half Zoekt’s index, 60x faster at p95

Comments
5 min read
DSA in Depth: Interactive Hardware-Grounded Textbook, 69 Visual Simulators & 22 Coding Labs

DSA in Depth: Interactive Hardware-Grounded Textbook, 69 Visual Simulators & 22 Coding Labs

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