All Posts

1-Bit And 2-Bit Characters Problem

LeetCode 717. We have two special characters, the first character...

Zuma Game Problem

LeetCode 488. You are playing a variation of the game...

Validate IP Address Problem

LeetCode 468. Given a string queryIP, return “IPv4” if IP...

Trapping Rain Water II Problem

LeetCode 407. Given an m x n integer matrix heightMap...

Total Hamming Distance Problem

LeetCode 477. The Hamming distance between two integers is the...


Third Maximum Number Problem

LeetCode 414. Given an integer array nums, return the third...

Teemo Attacking Problem

LeetCode 495. Our hero Teemo is attacking an enemy Ashe...

Tag Validator Problem

LeetCode 591. Given a string representing a code snippet, implement...

Super Washing Machines Problem

LeetCode 517. You have n super washing machines on a...

Strong Password Checker Problem

LeetCode 420. A password is considered strong if the below...

Random Point In Non-Overlapping Rectangles Problem

LeetCode 497. You are given an array of non-overlapping axis-aligned...

Predict The Winner Problem

LeetCode 486. You are given an integer array nums. Two...

Partition Equal Subset Sum Problem

LeetCode 416. Given a non-empty array nums containing only positive...


Pacific Atlantic Water Flow Problem

LeetCode 417. There is an m x n rectangular island...

Non-Negative Integers Without Consecutive Ones Problem

LeetCode 600. Given a positive integer n, return the number...