Welcome to My Technical Blog

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

313+ 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

All Posts

[Medium] 1424. Diagonal Traverse II

Given a 2D integer array nums, return all elements of nums in diagonal order.
leetcodealgorithmmediumjavaarraymatrixhash-mapbfsproblem-solving

[Easy] 206. Reverse Linked List

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

[Medium] 146. LRU Cache

Design a data structure that follows the constraints of a Least Recently Used (LRU) cache.
leetcodealgorithmmediumjavadesigndata-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.
leetcodealgorithmmediumjavabacktrackingstringproblem-solving

[Hard] 460. LFU Cache

Design and implement a data structure for a Least Frequently Used (LFU) cache.
leetcodealgorithmhardjavadesigndata-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 Java for expression evaluation with +, −, ×, ÷ and parentheses. See also Stack for RPN and nested expressions. Contents Basic Calculator (+, -, parentheses) Basic Calculator II...
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.
leetcodealgorithmmediumjavastringstackexpression-evaluationproblem-solving

[Hard] 772. Basic Calculator III

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

[Medium] 227. Basic Calculator II

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

Subscribe via RSS to stay updated