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.
Building My First AI Project: Tic Tac Toe with Minimax (No ML Libraries)

Building My First AI Project: Tic Tac Toe with Minimax (No ML Libraries)

5
Comments 2
3 min read
Unsupervised machine learning: Kmeans (3 blobs)

Unsupervised machine learning: Kmeans (3 blobs)

Comments
1 min read
808. Soup Servings

808. Soup Servings

Comments
5 min read
This AI-Powered Sorting Algorithm Dynamically Picks the Best Strategy, Boosting Speed by 40%

This AI-Powered Sorting Algorithm Dynamically Picks the Best Strategy, Boosting Speed by 40%

Comments
3 min read
3363. Find the Maximum Number of Fruits Collected

3363. Find the Maximum Number of Fruits Collected

Comments
5 min read
Don't Skip DSA: A Real-World Optimisation Win

Don't Skip DSA: A Real-World Optimisation Win

Comments
2 min read
NEW BIE HERE

NEW BIE HERE

Comments
1 min read
Call Stack in Java

Call Stack in Java

Comments
1 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
The Queue: Understanding FIFO Data Structures in TypeScript

The Queue: Understanding FIFO Data Structures in TypeScript

Comments
5 min read
LeetCode series: Data Structures (1/4)

LeetCode series: Data Structures (1/4)

5
Comments 2
3 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
3477. Fruits Into Baskets II

3477. Fruits Into Baskets II

Comments
4 min read
RAM Run

RAM Run

1
Comments 1
7 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
FlashAttention by hand

FlashAttention by hand

4
Comments
23 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 for Undirected Graphs(DFS with parent tracking) C++: Story

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

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

Cycle Detection using Union-Find 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
Union-Find(With Rank) C++: Story

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

Comments
3 min read
loading...