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

[Medium] 43. Multiply Strings

Given two non-negative integers represented as strings num1 and num2, return their product as a string. You cannot convert the inputs to integers directly (numbers can be very large).
leetcodemediumstringmathsimulation

[Hard] 42. Trapping Rain Water

Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining.
leetcodehardtwo-pointersstackdp

[Medium] 38. Count and Say

The count-and-say sequence is a sequence of digit strings defined by the recursive formula:
leetcodemediumstringsimulation

[Hard] 23. Merge k Sorted Lists

You are given an array of k linked lists, each sorted in ascending order. Merge all the linked lists into one sorted linked list and return it.
leetcodehardlinked-listdivide-and-conquerheap

[Easy] 893. Groups of Special-Equivalent Strings

Two strings are special-equivalent if you can swap characters at even indices among themselves and swap characters at odd indices among themselves, any number of times. Return the number of...
leetcodeeasystringhash

[Medium] 36. Valid Sudoku

Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules:
leetcodemediummathbit-manipulation

[Medium] 29. Divide Two Integers

Given two integers dividend and divisor, divide two integers without using multiplication, division, and mod operator. Return the quotient after dividing dividend by divisor. The integer division should truncate toward...
leetcodemediummathbit-manipulation

[Medium] 416. Partition Equal Subset Sum

Given an integer array nums, return true if you can partition the array into two subsets such that the sum of the elements in both subsets is equal or false...
leetcodemediumdynamic-programming

[Medium] 155. Min Stack

Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.
leetcodemediumstack

Subscribe via RSS to stay updated