Forem

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.
Title: How I Cracked My Coding Interviews with a Simple Pattern-Based DSA Approach

Title: How I Cracked My Coding Interviews with a Simple Pattern-Based DSA Approach

Comments
1 min read
Binary Search on Answers β€” Crack the Hardest Problems in Log Time
Cover image for Binary Search on Answers β€” Crack the Hardest Problems in Log Time

Binary Search on Answers β€” Crack the Hardest Problems in Log Time

Comments
3 min read
2787. Ways to Express an Integer as Sum of Powers
Cover image for 2787. Ways to Express an Integer as Sum of Powers

2787. Ways to Express an Integer as Sum of Powers

Comments
4 min read
2438. Range Product Queries of Powers
Cover image for 2438. Range Product Queries of Powers

2438. Range Product Queries of Powers

Comments
4 min read
Day 28 of my DSA + AI Dev Journey

Day 28 of my DSA + AI Dev Journey

Comments
1 min read
AlgorithmO #18β€Šβ€”β€ŠΠžΠ±Ρ…ΠΎΠΆΠ΄Π°Π½Π΅ Π½Π° Π΄Π²ΠΎΠΈΡ‡Π½ΠΈ Π΄ΡŠΡ€Π²Π΅Ρ‚Π°

AlgorithmO #18β€Šβ€”β€ŠΠžΠ±Ρ…ΠΎΠΆΠ΄Π°Π½Π΅ Π½Π° Π΄Π²ΠΎΠΈΡ‡Π½ΠΈ Π΄ΡŠΡ€Π²Π΅Ρ‚Π°

Comments
2 min read
869. Reordered Power of 2
Cover image for 869. Reordered Power of 2

869. Reordered Power of 2

Comments
3 min read
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
Cover image for 231. Power of Two

231. Power of Two

Comments
3 min read
As a 15 year old, I built an AI Bot to Beat Four Pattern-Based Rock-Paper-Scissors Bots!

As a 15 year old, I built an AI Bot to Beat Four Pattern-Based Rock-Paper-Scissors Bots!

Comments
1 min read
How to resolve the Max Char Algorithm
Cover image for How to resolve the Max Char Algorithm

How to resolve the Max Char Algorithm

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

Unsupervised machine learning: Kmeans (3 blobs)

Comments
1 min read
808. Soup Servings
Cover image for 808. Soup Servings

808. Soup Servings

Comments
5 min read
3363. Find the Maximum Number of Fruits Collected
Cover image for 3363. Find the Maximum Number of Fruits Collected

3363. Find the Maximum Number of Fruits Collected

Comments
5 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
Cover image for 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
Cover image for 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]
Cover image for 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
Cover image for How URL Shorteners Work

How URL Shorteners Work

Comments
4 min read
3477. Fruits Into Baskets II
Cover image for 3477. Fruits Into Baskets II

3477. Fruits Into Baskets II

Comments
4 min read
904. Fruit Into Baskets
Cover image for 904. Fruit Into Baskets

904. Fruit Into Baskets

Comments
4 min read
loading...