Welcome to My Technical Blog

Exploring algorithms, data structures, and software engineering insights through LeetCode solutions in Python.

169+ Problems Solved
3 Difficulty Levels
20+ Categories

Latest Posts

All Posts

[Easy] 993. Cousins in Binary Tree

Given the root of a binary tree with unique values and the values of two different nodes of the tree x and y, return true if the nodes corresponding to...
leetcodeeasytreebfsbinary-tree

Algorithm Templates: Heap

Welcome to the Heap templates page! Here you’ll find battle-tested Python snippets for every common heap (priority queue) pattern on LeetCode — from basic min/max heaps to advanced techniques like...
leetcodetemplatesheappriority-queue

[Medium] 53. Maximum Subarray

Given an integer array nums, find the subarray with the largest sum, and return its sum.
leetcodemediumarraydynamic-programminggreedydivide-and-conquer

[Medium] 376. Wiggle Subsequence

A wiggle sequence is a sequence where the differences between successive numbers strictly alternate between positive and negative. The first difference (if one exists) may be either positive or negative....
leetcodemediumarraydynamic-programminggreedy

Subscribe via RSS to stay updated