All Posts

Power Of Four Problem

LeetCode 342. Given an integer n, return true if it...

Perfect Squares Problem

LeetCode 279. Given an integer n, return the least number...

Perfect Rectangle Problem

LeetCode 391. Given an array rectangles where rectangles[i] = [x_i,...

Peeking Iterator Problem

LeetCode 284. Design an iterator that supports the peek operation...

Patching Array Problem

LeetCode 330. Given a sorted integer array nums and an...

Palindrome Pairs Problem

LeetCode 336. Given a list of unique words, return all...

Odd Even Linked List Problem

LeetCode 328. Given the head of a singly linked list,...


Number Of Digit One Problem

LeetCode 233. Given an integer n, count the total number...

Nth Digit Problem

LeetCode 400. Given an integer n, return the n^th digit...

Nim Game Problem

LeetCode 292. You are playing the following Nim Game with...

Move Zeroes Problem

LeetCode 283. Given an integer array nums, move all 0’s...

Missing Number Problem

LeetCode 268. Given an array nums containing n distinct numbers...

Minimum Size Subarray Sum Problem

LeetCode 209. Given an array of positive integers nums and...

Minimum Height Trees Problem

LeetCode 310. A tree is an undirected graph in which...

Mini Parser Problem

LeetCode 385. Given a string s represents the serialization of...


Maximum Product Of Word Lengths Problem

LeetCode 318. Given a string array words, return the maximum...