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.
A programming contest for the age when AI writes the code

A programming contest for the age when AI writes the code

Comments
5 min read
Liberties, ko and two passes: how I coded the rules of Go in about 360 lines of JavaScript

Liberties, ko and two passes: how I coded the rules of Go in about 360 lines of JavaScript

Comments
6 min read
Is DSA Still Needed in the AI Era?

Is DSA Still Needed in the AI Era?

Comments
7 min read
Finding your next classic read with a few typed letters

Finding your next classic read with a few typed letters

Comments
1 min read
How we generate endless, always-solvable pipe puzzles in under 60 lines of vanilla JS

How we generate endless, always-solvable pipe puzzles in under 60 lines of vanilla JS

Comments
8 min read
Python Logical Problem: Find the First Two-Digit Prime Number and Last Two-Digit Prime Number

Python Logical Problem: Find the First Two-Digit Prime Number and Last Two-Digit Prime Number

5
Comments
1 min read
Tic-Tac-Toe Minimax Algorithm in Java

Tic-Tac-Toe Minimax Algorithm in Java

Comments
6 min read
30 DSA Problems I’d Practice Before a FAANG Interview

30 DSA Problems I’d Practice Before a FAANG Interview

6
Comments
11 min read
Arrays in Data Structures: Operations, Costs and Patterns

Arrays in Data Structures: Operations, Costs and Patterns

Comments
17 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
A spread filter for MQL5 EAs that compares against the recent median, not a fixed number

A spread filter for MQL5 EAs that compares against the recent median, not a fixed number

1
Comments 3
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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.