All Posts

Wiggle Subsequence Problem

LeetCode 376. A wiggle sequence is a sequence where the...

Verify Preorder Serialization Of A Binary Tree Problem

LeetCode 331. One way to serialize a binary tree is...

Valid Anagram Problem

LeetCode 242. Given two strings s and t, return true...

Ugly Number Problem

LeetCode 263. An ugly number is a positive integer whose...

Ugly Number II Problem

LeetCode 264. An ugly number is a positive integer whose...

Top K Frequent Elements Problem

LeetCode 347. Given an integer array nums and an integer...


Super Ugly Number Problem

LeetCode 313. A super ugly number is a positive integer...

Super Pow Problem

LeetCode 372. Your task is to calculate a^b mod 1337...

Summary Ranges Problem

LeetCode 228. You are given a sorted unique integer array...

Sum Of Two Integers Problem

LeetCode 371. Given two integers a and b, return the...

Sliding Window Maximum Problem

LeetCode 239. You are given an array of integersnums, there...

Single Number III Problem

LeetCode 260. Given an integer array nums, in which exactly...

Shuffle An Array Problem

LeetCode 384. Given an integer array nums, design an algorithm...

Shortest Palindrome Problem

LeetCode 214. You are given a string s. You can...


Serialize And Deserialize Binary Tree Problem

LeetCode 297. Serialization is the process of converting a data...

Self Crossing Problem

LeetCode 335. You are given an array of integers distance....