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.
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
Mastering Dynamic Programming: Unleashing the Power of Optimal Substructure

Mastering Dynamic Programming: Unleashing the Power of Optimal Substructure

Comments 1
1 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
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
Why Regex isn't enough: Auditing Discord Bots with AI Reasoning Models

Why Regex isn't enough: Auditing Discord Bots with AI Reasoning Models

Comments
2 min read
Understanding Big O Notation in Python: A Practical Guide
Cover image for Understanding Big O Notation in Python: A Practical Guide

Understanding Big O Notation in Python: A Practical Guide

1
Comments
8 min read
Day 76: Python Binary Exponentiation – O(log n) Fast Power Calculation Without Built-Ins

Day 76: Python Binary Exponentiation – O(log n) Fast Power Calculation Without Built-Ins

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