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.
Call Stack in Java

Call Stack in Java

Comments
1 min read
3479. Fruits Into Baskets III

3479. Fruits Into Baskets III

Comments
4 min read
Comparing BFS, DFS, Dijkstra, and A* algorithms on a practical maze solver example

Comparing BFS, DFS, Dijkstra, and A* algorithms on a practical maze solver example

Comments
7 min read
7 Essential Machine Learning Algorithms for Data Science, Data Analysis, and Predictive Modeling [2025 Guide]

7 Essential Machine Learning Algorithms for Data Science, Data Analysis, and Predictive Modeling [2025 Guide]

2
Comments
10 min read
How URL Shorteners Work

How URL Shorteners Work

Comments
4 min read
3477. Fruits Into Baskets II

3477. Fruits Into Baskets II

Comments
4 min read
Dynamic Arrays in C

Dynamic Arrays in C

Comments
4 min read
904. Fruit Into Baskets

904. Fruit Into Baskets

Comments
4 min read
Java vs Python via the lens of an interview problem

Java vs Python via the lens of an interview problem

Comments
3 min read
Cycle Detection for Directed Graphs(DFS with recursion stack) C++: Story

Cycle Detection for Directed Graphs(DFS with recursion stack) C++: Story

Comments
3 min read
Cycle Detection using Union-Find C++: Story

Cycle Detection using Union-Find C++: Story

Comments
3 min read
Cycle Detection for Undirected Graphs(DFS with parent tracking) C++: Story

Cycle Detection for Undirected Graphs(DFS with parent tracking) C++: Story

Comments
3 min read
DFS Graph Traversal using Recursion C++: Story

DFS Graph Traversal using Recursion C++: Story

Comments
3 min read
BFS Graph Traversal C++: Story

BFS Graph Traversal C++: Story

Comments
3 min read
DFS Graph Traversal using Stack C++: Story

DFS Graph Traversal using Stack C++: Story

Comments
3 min read
Prims Algorithm C++: Story

Prims Algorithm C++: Story

Comments
4 min read
Kruskal Algorithm C++: Story

Kruskal Algorithm C++: Story

Comments
4 min read
Union-Find(With Rank) C++: Story

Union-Find(With Rank) C++: Story

Comments
3 min read
AlgorithmO #16 — Бързо сортиране (Quicksort)

AlgorithmO #16 — Бързо сортиране (Quicksort)

Comments
2 min read
Building a Sports Betting Calculator: The Math Behind Multi-Leg Arbitrage

Building a Sports Betting Calculator: The Math Behind Multi-Leg Arbitrage

Comments
5 min read
Union-Find(Without Rank) C++: Story

Union-Find(Without Rank) C++: Story

Comments
4 min read
2106. Maximum Fruits Harvested After at Most K Steps

2106. Maximum Fruits Harvested After at Most K Steps

Comments
5 min read
AlgorithmO #15 — Двоично търсене (Binary Search)

AlgorithmO #15 — Двоично търсене (Binary Search)

Comments
1 min read
Practical Skyline Queries in Go

Practical Skyline Queries in Go

Comments
16 min read
2561. Rearranging Fruits

2561. Rearranging Fruits

Comments
4 min read
loading...