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.
Day 80: Python Search in Rotated Sorted rArray - Final Challenge O(log n) Binary Search Mastery (LeetCode #33 Vibes)

Day 80: Python Search in Rotated Sorted rArray - Final Challenge O(log n) Binary Search Mastery (LeetCode #33 Vibes)

Comments
3 min read
Optimizing Complex Planning and Scheduling with Timefold

Optimizing Complex Planning and Scheduling with Timefold

Comments
4 min read
LeetCode DSA Series #1: 191. Number of 1 Bits
Cover image for LeetCode DSA Series #1: 191. Number of 1 Bits

LeetCode DSA Series #1: 191. Number of 1 Bits

Comments
1 min read
I'm Still Grinding LeetCode and These 8 Advanced Patterns Changed Everything 🚀
Cover image for I'm Still Grinding LeetCode and These 8 Advanced Patterns Changed Everything 🚀

I'm Still Grinding LeetCode and These 8 Advanced Patterns Changed Everything 🚀

5
Comments
34 min read
Mahdi Shamlou | Solving LeetCode #5: Longest Palindromic Substring — My Expand-Around-Center Adventure

Mahdi Shamlou | Solving LeetCode #5: Longest Palindromic Substring — My Expand-Around-Center Adventure

1
Comments
2 min read
Cyclic Sort Made Simple: Learn the Basics and How It Works
Cover image for Cyclic Sort Made Simple: Learn the Basics and How It Works

Cyclic Sort Made Simple: Learn the Basics and How It Works

2
Comments
4 min read
Mahdi Shamlou | Solving LeetCode #7: Reverse Integer — My Math-Based Reversal with Overflow Safety

Mahdi Shamlou | Solving LeetCode #7: Reverse Integer — My Math-Based Reversal with Overflow Safety

1
Comments
2 min read
Mahdi Shamlou | Solving LeetCode #6: Zigzag Conversion — My Row-by-Row Simulation Fun Way

Mahdi Shamlou | Solving LeetCode #6: Zigzag Conversion — My Row-by-Row Simulation Fun Way

1
Comments
2 min read
Day 84 of 100 days dsa coding challenge
Cover image for Day 84 of 100 days dsa coding challenge

Day 84 of 100 days dsa coding challenge

1
Comments
1 min read
LeetCode Dynamic Programming for Beginners: A Complete Step-by-Step Tutorial

LeetCode Dynamic Programming for Beginners: A Complete Step-by-Step Tutorial

1
Comments 1
13 min read
Day 77: Python Trailing Zeros in Factorial – Genius Number Theory Trick to Count Zeros in n! Without Computing the Huge Number

Day 77: Python Trailing Zeros in Factorial – Genius Number Theory Trick to Count Zeros in n! Without Computing the Huge Number

Comments
2 min read
Exploring the Flood Fill Algorithm and Its Applications in Maze Solving

Exploring the Flood Fill Algorithm and Its Applications in Maze Solving

Comments
4 min read
Your Code Is Slow Because You Think in Objects, Not Data
Cover image for Your Code Is Slow Because You Think in Objects, Not Data

Your Code Is Slow Because You Think in Objects, Not Data

5
Comments 1
10 min read
Webcrawling is just a brute force algorithm

Webcrawling is just a brute force algorithm

1
Comments
3 min read
I Built a Risk-Driven Stock Portfolio Optimizer (And What I Learned)

I Built a Risk-Driven Stock Portfolio Optimizer (And What I Learned)

Comments
2 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.