Technical Blog

Algorithms and Problem Solving Notes

I document solution strategies, implementation patterns, and lessons from coding problems so I can build a reliable interview and engineering knowledge base.

May 15, 2026 · 3 min read

Univalued Binary Tree: Pattern and Complexity Walkthrough

A concise walkthrough for Univalued Binary Tree with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCodeData Structures
Read post

May 14, 2026 · 3 min read

Brace Expansion II: Pattern and Complexity Walkthrough

A concise walkthrough for Brace Expansion II with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

May 13, 2026 · 3 min read

Apply Transform Over Each Element in Array: Pattern and Complexity Walkthrough

A concise walkthrough for Apply Transform Over Each Element in Array with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCodeData Structures
Read post

May 12, 2026 · 3 min read

Rotate Function: Pattern and Complexity Walkthrough

A concise walkthrough for Rotate Function with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

May 09, 2026 · 3 min read

Number Complement: Pattern and Complexity Walkthrough

A concise walkthrough for Number Complement with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

May 06, 2026 · 3 min read

Weighted Word Mapping: Pattern and Complexity Walkthrough

A concise walkthrough for Weighted Word Mapping with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCodeData Structures
Read post

May 05, 2026 · 3 min read

Burst Balloons: Pattern and Complexity Walkthrough

A concise walkthrough for Burst Balloons with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

May 04, 2026 · 3 min read

Smallest Range Covering Elements from K Lists: Pattern and Complexity Walkthrough

A concise walkthrough for Smallest Range Covering Elements from K Lists with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

May 03, 2026 · 3 min read

Total Cost to Hire K Workers: Pattern and Complexity Walkthrough

A concise walkthrough for Total Cost to Hire K Workers with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

Apr 29, 2026 · 3 min read

Check if Number Has Equal Digit Count and Digit Value: Pattern and Complexity Walkthrough

A concise walkthrough for Check if Number Has Equal Digit Count and Digit Value with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

Apr 28, 2026 · 3 min read

Closest Divisors: Pattern and Complexity Walkthrough

A concise walkthrough for Closest Divisors with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

Apr 25, 2026 · 3 min read

Merge Two 2D Arrays by Summing Values: Pattern and Complexity Walkthrough

A concise walkthrough for Merge Two 2D Arrays by Summing Values with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCodeData Structures
Read post

Apr 24, 2026 · 3 min read

Valid Mountain Array: Pattern and Complexity Walkthrough

A concise walkthrough for Valid Mountain Array with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCodeData Structures
Read post

Apr 23, 2026 · 3 min read

Sum of Left Leaves: Pattern and Complexity Walkthrough

A concise walkthrough for Sum of Left Leaves with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

Apr 22, 2026 · 3 min read

Calculator with Method Chaining: Pattern and Complexity Walkthrough

A concise walkthrough for Calculator with Method Chaining with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

Apr 19, 2026 · 3 min read

Minimum Number of Removals to Make Mountain Array: Pattern and Complexity Walkthrough

A concise walkthrough for Minimum Number of Removals to Make Mountain Array with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCodeData Structures
Read post

Apr 16, 2026 · 3 min read

Count of Matches in Tournament: Pattern and Complexity Walkthrough

A concise walkthrough for Count of Matches in Tournament with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

Apr 15, 2026 · 3 min read

Substring Matching Pattern: Pattern and Complexity Walkthrough

A concise walkthrough for Substring Matching Pattern with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

Apr 14, 2026 · 3 min read

Number of Submatrices That Sum to Target: Pattern and Complexity Walkthrough

A concise walkthrough for Number of Submatrices That Sum to Target with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

Apr 13, 2026 · 3 min read

Longer Contiguous Segments of Ones than Zeros: Pattern and Complexity Walkthrough

A concise walkthrough for Longer Contiguous Segments of Ones than Zeros with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

Apr 10, 2026 · 3 min read

Zero Array Transformation III: Pattern and Complexity Walkthrough

A concise walkthrough for Zero Array Transformation III with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCodeData Structures
Read post

Apr 07, 2026 · 3 min read

Remove Zero Sum Consecutive Nodes from Linked List: Pattern and Complexity Walkthrough

A concise walkthrough for Remove Zero Sum Consecutive Nodes from Linked List with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCodeData Structures
Read post

Apr 06, 2026 · 3 min read

Decode the Slanted Ciphertext: Pattern and Complexity Walkthrough

A concise walkthrough for Decode the Slanted Ciphertext with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

Apr 05, 2026 · 3 min read

Minimum Depth of Binary Tree: Pattern and Complexity Walkthrough

A concise walkthrough for Minimum Depth of Binary Tree with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCodeData Structures
Read post

Apr 04, 2026 · 3 min read

IPO: Pattern and Complexity Walkthrough

A concise walkthrough for IPO with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

Apr 01, 2026 · 3 min read

Minimum Cost to Make Two Binary Strings Equal: Pattern and Complexity Walkthrough

A concise walkthrough for Minimum Cost to Make Two Binary Strings Equal with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

Mar 30, 2026 · 4 min read

Two Sum with Hash Map: My Reliable O(n) Pattern

A practical walkthrough of how I use a hash map for Two Sum, including edge-case checks and why one-pass lookup is enough.

AlgorithmsData StructuresLeetCode
Read post

Mar 30, 2026 · 3 min read

Reduction Operations to Make the Array Elements Equal: Pattern and Complexity Walkthrough

A concise walkthrough for Reduction Operations to Make the Array Elements Equal with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCodeData Structures
Read post

Mar 30, 2026 · 3 min read

Longest Palindromic Subsequence: Pattern and Complexity Walkthrough

A concise walkthrough for Longest Palindromic Subsequence with clear approach, complexity, and multi-language implementation templates.

AlgorithmsLeetCode
Read post

Mar 28, 2026 · 5 min read

Valid Parentheses: Why Stack Is the Cleanest Fit

How I approach bracket-matching problems with a stack, and the exact checks that avoid false positives.

AlgorithmsData StructuresLeetCode
Read post

Mar 25, 2026 · 6 min read

Binary Search Template I Reuse for First True

A reusable binary search template for boundary problems, with loop invariants and off-by-one safety tips.

Algorithms
Read post