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.
Advent of Code Day 1: Python was 13.6x slower than Rust

Advent of Code Day 1: Python was 13.6x slower than Rust

Comments
5 min read
Nutri-Score 2023 in JavaScript: what changed from 2017, and the traps in the new algorithm

Nutri-Score 2023 in JavaScript: what changed from 2017, and the traps in the new algorithm

Comments
5 min read
Prevent immediate repeats when a sample shuffle bag refills

Prevent immediate repeats when a sample shuffle bag refills

Comments
2 min read
Computational Complexity for Dummies — Episode 3

Computational Complexity for Dummies — Episode 3

1
Comments
8 min read
What Is Binary Coded Decimal (BCD) and Why Do Hardware Systems Still Use It?

What Is Binary Coded Decimal (BCD) and Why Do Hardware Systems Still Use It?

Comments
3 min read
Testing a maze generator as a graph

Testing a maze generator as a graph

Comments
2 min read
Comparing two lists without losing duplicate counts

Comparing two lists without losing duplicate counts

Comments
2 min read
Model Directed and Undirected Graphs in Pure Python with Liasis-Graph

Model Directed and Undirected Graphs in Pure Python with Liasis-Graph

Comments
6 min read
為何 array.sort(() => Math.random() - 0.5) 會毀掉紙牌洗牌?JavaScript 無偏差 416 張牌 Fisher-Yates 與紅卡切牌實作

為何 array.sort(() => Math.random() - 0.5) 會毀掉紙牌洗牌?JavaScript 無偏差 416 張牌 Fisher-Yates 與紅卡切牌實作

Comments
1 min read
How to Solve the 15-Puzzle in the Browser with Incremental IDA*

How to Solve the 15-Puzzle in the Browser with Incremental IDA*

Comments
6 min read
One phone, one feed, a whole family: how a private algorithm leaks into a home

One phone, one feed, a whole family: how a private algorithm leaks into a home

Comments
5 min read
Simulating 1D Flooring Plank Offcut Reuse Instead of Adding a Flat 7% Waste Factor

Simulating 1D Flooring Plank Offcut Reuse Instead of Adding a Flat 7% Waste Factor

Comments
5 min read
Kadane's Algorithm: Maximum Subarray Sum in O(n)

Kadane's Algorithm: Maximum Subarray Sum in O(n)

Comments
18 min read
Free forex strategy generator online: what it does and cannot do

Free forex strategy generator online: what it does and cannot do

Comments
4 min read
Introducing Advent of Code to Mixed-Skill Coders: Setting Difficulty Expectations to Prevent Beginner Discouragement

Introducing Advent of Code to Mixed-Skill Coders: Setting Difficulty Expectations to Prevent Beginner Discouragement

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