Welcome to My Technical Blog

Exploring algorithms, data structures, and software engineering insights through detailed LeetCode problem solutions

169+ Problems Solved
3 Difficulty Levels
20+ Categories

Latest Posts

[Medium] 221. Maximal Square

Given an m x n binary matrix filled with '0's and '1's, find the largest square containing only '1's and...
leetcodemediumdynamic-programming

[Medium] 274. H-Index

Given an array of integers citations where citations[i] is the number of citations a researcher received for their i-th paper,...
leetcodemediumsorting

All Posts

[Medium] 1865. Finding Pairs With a Certain Sum

You are given two integer arrays nums1 and nums2. You are tasked to implement a data structure that supports the following operations:
leetcodealgorithmmediumcpphash-mapdata-structureproblem-solving

[Medium] 437. Path Sum III

Given the root of a binary tree and an integer targetSum, return the number of paths where the sum of the values along the path equals targetSum.
leetcodealgorithmmediumcpptreedfsrecursionproblem-solving

[Medium] 394. Decode String

Given an encoded string, return its decoded string.
leetcodealgorithmmediumcppstackstring-processingproblem-solving

[Medium] 417. Pacific Atlantic Water Flow

There is an m x n rectangular island that borders both the Pacific Ocean and the Atlantic Ocean. The Pacific Ocean touches the island’s left and top edges, and the...
leetcodealgorithmmediumcppdfsbfsgraphproblem-solving

[Medium] 406. Queue Reconstruction by Height

You are given an array of people, people, which are the attributes of some people in a queue (not necessarily in order). Each people[i] = [hi, ki] represents the ith...
leetcodealgorithmmediumcppgreedysortinglistproblem-solving

[Medium] 1856. Maximum Sum of Minimum Product

The minimum product of a subarray is the minimum value in the subarray multiplied by the sum of the subarray.
leetcodealgorithmmediumcppstackmonotonic-stackprefix-sumproblem-solving

Subscribe via RSS to stay updated