
562

Longest Line of Consecutive One in Matrix

34.2%

Medium


561

Array Partition I

77.9%

Easy


548

Split Array with Equal Sum

29.0%

Medium


533

Lonely Pixel II

39.7%

Medium


532

Kdiff Pairs in an Array

27.4%

Easy


531

Lonely Pixel I

51.5%

Medium


495

Teemo Attacking

51.9%

Medium


485

Max Consecutive Ones

54.4%

Easy


448

Find All Numbers Disappeared in an Array

52.6%

Easy


442

Find All Duplicates in an Array

53.6%

Medium


414

Third Maximum Number

27.5%

Easy


381

Insert Delete GetRandom O(1)  Duplicates allowed

28.5%

Hard


380

Insert Delete GetRandom O(1)

38.9%

Medium


370

Range Addition

54.6%

Medium


289

Game of Life

36.5%

Medium


287

Find the Duplicate Number

42.6%

Medium


283

Move Zeroes

49.0%

Easy


280

Wiggle Sort

56.2%

Medium


277

Find the Celebrity

35.3%

Medium


268

Missing Number

43.9%

Easy


259

3Sum Smaller

41.1%

Medium


245

Shortest Word Distance III

49.8%

Medium


243

Shortest Word Distance

51.6%

Easy


238

Product of Array Except Self

48.2%

Medium


229

Majority Element II

28.1%

Medium


228

Summary Ranges

28.9%

Medium


219

Contains Duplicate II

32.0%

Easy


217

Contains Duplicate

44.8%

Easy


216

Combination Sum III

43.6%

Medium


209

Minimum Size Subarray Sum

29.7%

Medium


189

Rotate Array

24.0%

Easy


169

Majority Element

45.7%

Easy


167

Two Sum II  Input array is sorted

47.3%

Easy


163

Missing Ranges

25.5%

Medium


162

Find Peak Element

36.6%

Medium


154

Find Minimum in Rotated Sorted Array II

36.7%

Hard


153

Find Minimum in Rotated Sorted Array

39.3%

Medium


152

Maximum Product Subarray

25.1%

Medium


128

Longest Consecutive Sequence

36.0%

Hard


126

Word Ladder II

13.8%

Hard


123

Best Time to Buy and Sell Stock III

28.8%

Hard


122

Best Time to Buy and Sell Stock II

46.3%

Easy


121

Best Time to Buy and Sell Stock

40.3%

Easy


120

Triangle

33.1%

Medium


119

Pascal's Triangle II

35.9%

Easy


118

Pascal's Triangle

37.6%

Easy


106

Construct Binary Tree from Inorder and Postorder Traversal

31.5%

Medium


105

Construct Binary Tree from Preorder and Inorder Traversal

31.5%

Medium


90

Subsets II

35.1%

Medium


88

Merge Sorted Array

31.7%

Easy


85

Maximal Rectangle

27.0%

Hard


84

Largest Rectangle in Histogram

26.1%

Hard


81

Search in Rotated Sorted Array II

32.8%

Medium


80

Remove Duplicates from Sorted Array II

35.4%

Medium


79

Word Search

26.1%

Medium


78

Subsets

38.6%

Medium


75

Sort Colors

37.3%

Medium


74

Search a 2D Matrix

35.3%

Medium


73

Set Matrix Zeroes

35.5%

Medium


66

Plus One

37.8%

Easy


64

Minimum Path Sum

37.8%

Medium


63

Unique Paths II

31.3%

Medium


62

Unique Paths

40.2%

Medium


59

Spiral Matrix II

38.8%

Medium


57

Insert Interval

27.0%

Hard


56

Merge Intervals

29.2%

Medium


55

Jump Game

29.3%

Medium


54

Spiral Matrix

25.3%

Medium


53

Maximum Subarray

39.2%

Easy


48

Rotate Image

37.9%

Medium


45

Jump Game II

26.1%

Hard


42

Trapping Rain Water

36.0%

Hard


41

First Missing Positive

25.2%

Hard


40

Combination Sum II

32.5%

Medium


39

Combination Sum

37.2%

Medium


35

Search Insert Position

39.3%

Easy


34

Search for a Range

31.1%

Medium


33

Search in Rotated Sorted Array

32.1%

Medium


31

Next Permutation

28.5%

Medium


27

Remove Element

38.0%

Easy


26

Remove Duplicates from Sorted Array

35.5%

Easy


18

4Sum

26.2%

Medium


16

3Sum Closest

30.8%

Medium


15

3Sum

21.5%

Medium


11

Container With Most Water

36.3%

Medium


4

Median of Two Sorted Arrays

21.3%

Hard


1

Two Sum

32.6%

Easy
