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

[Easy] 206. Reverse Linked List

Given the head of a singly linked list, reverse the list, and return the reversed list.
leetcodealgorithmeasycpplinked-listrecursioniterationproblem-solving

[Medium] 146. LRU Cache

Design a data structure that follows the constraints of a Least Recently Used (LRU) cache.
leetcodealgorithmmediumcppdesigndata-structureshash-maplinked-listproblem-solving

[Medium] 93. Restore IP Addresses

A valid IP address consists of exactly four integers separated by single dots. Each integer is between 0 and 255 (inclusive) and cannot have leading zeros.
leetcodealgorithmmediumcppbacktrackingstringproblem-solving

[Hard] 460. LFU Cache

Design and implement a data structure for a Least Frequently Used (LFU) cache.
leetcodealgorithmhardcppdesigndata-structureshash-maplinked-listproblem-solving

Algorithm Templates: Stack

The stack is one of the most versatile data structures in coding interviews. Whether you’re matching parentheses, evaluating expressions, or finding the next greater element in an array, a stack...
leetcodetemplatesstackdata-structures

Algorithm Templates: Calculator

Minimal, copy-paste C++ for expression evaluation with +, −, ×, ÷ and parentheses. See also Stack for RPN and nested expressions.
leetcodetemplatescalculatorexpression-evaluation

[Medium] 224. Basic Calculator

Given a string s representing a valid expression, implement a basic calculator to evaluate it, and return the result of the evaluation.
leetcodealgorithmmediumcppstringstackexpression-evaluationproblem-solving

[Hard] 772. Basic Calculator III

Implement a basic calculator to evaluate a simple expression string.
leetcodealgorithmhardcppstringstackrecursionexpression-evaluationproblem-solving

[Medium] 227. Basic Calculator II

Given a string s which represents an expression, evaluate this expression and return its value.
leetcodealgorithmmediumcppstringstackexpression-evaluationproblem-solving

[Medium] 324. Wiggle Sort II

Rearrange nums such that nums[0] < nums[1] > nums[2] < nums[3] ... (wiggle order).
leetcodealgorithmmediumcpparraysnth-elementthree-way-partitionindex-mappingproblem-solving

Subscribe via RSS to stay updated