All Posts

Invert Binary Tree Problem

LeetCode 226. Given the root of a binary tree, invert...

Intersection Of Two Arrays II Problem

LeetCode 350. Given two integer arrays nums1 and nums2, return...

Integer To English Words Problem

LeetCode 273. Convert a non-negative integer num to its English...

Integer Replacement Problem

LeetCode 397. Given a positive integer n,you can apply one...

Integer Break Problem

LeetCode 343. Given an integer n, break it into the...

Insert Delete Getrandom O(1) - Duplicates Allowed Problem

LeetCode 381. RandomizedCollection is a data structure that contains a...

Increasing Triplet Subsequence Problem

LeetCode 334. Given an integer array nums, return true if...

Implement Stack Using Queues Problem

LeetCode 225. Implement a last-in-first-out (LIFO) stack using only two...


Implement Queue Using Stacks Problem

LeetCode 232. Implement a first in first out (FIFO) queue...

House Robber III Problem

LeetCode 337. The thief has found himself a new place...

House Robber II Problem

LeetCode 213. You are a professional robber planning to rob...

Happy Number Problem

LeetCode 202. Write an algorithm to determine if a number...

H-Index Problem

LeetCode 274. Given an array of integers citations where citations[i]...

H-Index II Problem

LeetCode 275. Given an array of integers citations where citations[i]...

Guess Number Higher Or Lower Problem

LeetCode 374. We are playing the Guess Game. The game...

Guess Number Higher Or Lower II Problem

LeetCode 375. We are playing the Guessing Game. The game...