Software Engineer in the making | Building with C++, Python, FastAPI, LLMs & RAG | AI • Backend • Open Source | Passionate about Finance & Financial Markets
This LeetCode problem reminded me of a childhood memory — playing Sudoku on weekends after my father finished reading the newspaper. ❤️
It was as challenging for me today as it was back then!
The hardest part was to figure out start and end of each 3×3 grid.
#LeetCode#DSA#Go
Today's POTD 🔥
Found it difficult to solve.
After struggling for about an hour I watched the solution.
Approach:
Count set bits → Greedily build largest nums → Maximize
Time: O(n × 32 + k × 32)
Space: O(32)
#LeetCode#DSA#CPP#Greedy#BitManipulation#100DaysOfCode
Today’s POTD made me doubt myself.
After 400+ problems, I still get stuck. The clock ticks, confidence fades, and self-doubt kicks in.
Took a deep breath, drew every case, trusted myself, and finally solved it 30 minutes later.
#DSA#LeetCode#CPP
LeetCode Daily🔥
Calculate the score of balanced parentheses using a stack.
Approach: Push current score → On ), calculate 1 for () or 2×score for nested groups → Add score to previous level
Time: O(n)
Space: O(n)
#LeetCode#DSA#CPlusPlus#SoftwareDevelopment#Coder#Learn
🏆 DCC September 2026 — Completed!
Another month of staying consistent and keeping the momentum going. 💻🔥
Small progress every day adds up.
Not chasing perfection — just showing up, solving, learning, and improving. 🚀
#LeetCode#DSA#Consistency#Coding#100DaysOfCode
Today's LeetCode Daily 🚀
Longest Valid Parentheses
Approach:
Use a stack of indices → push ( → pop on ) → if stack is empty, reset → update max length
Stack + index tracking makes this one much cleaner.
#LeetCode#DSA#Cpp#ProblemSolving#SoftwareEngineer#LearnLiveLove
Today's LeetCode Daily 🚀
Generate Parentheses
Approach:
Choose ( while open < n → choose ) only when close < open → backtrack 🔄
A simple recursion + backtracking problem that really tests how well you understand valid choices.
#LeetCode#DSA#Cpp#Coding#100DaysOfCode