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.
More Thoughts on My Mental Model for Understanding Data Structures and Algorithms

More Thoughts on My Mental Model for Understanding Data Structures and Algorithms

Comments
9 min read
AlgorithmO #17 — Сортиране чрез сливане (Merge sort)

AlgorithmO #17 — Сортиране чрез сливане (Merge sort)

Comments
3 min read
Leap Before You Look - An Alternative Mental Model to Data Structures and Algorithms

Leap Before You Look - An Alternative Mental Model to Data Structures and Algorithms

Comments
11 min read
An Intuition-First Approach to Learning and Teaching Data Structures and Algorithms

An Intuition-First Approach to Learning and Teaching Data Structures and Algorithms

Comments
1 min read
231. Power of Two

231. Power of Two

Comments
3 min read
How to resolve the Max Char Algorithm

How to resolve the Max Char Algorithm

Comments
3 min read
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%

1
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

2
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
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
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
Java Collections: From Lists to Maps with Time Complexity in Mind

Java Collections: From Lists to Maps with Time Complexity in Mind

17
Comments
2 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
loading...