You are on page 1of 43

LeetCode Premium (Free) , most asked Amazon Interview Coding Questions for the year-2021

Acceptanc
# Title e Difficulty Frequency

1 Two Sum 47.1% Easy

2 Add Two Numbers 36.1% Medium

3 Longest Substring Without 31.8% Medium

Repeating Characters

4 Median of Two Sorted Arrays 31.9% Hard

5 Longest Palindromic Substring 30.9% Medium

7 Reverse Integer 26.0% Easy

8 String to Integer (atoi) 15.8% Medium

9 Palindrome Number 50.5% Easy

10 Regular Expression Matching 27.6% Hard

11 Container With Most Water 53.0% Medium

12 Integer to Roman 57.5% Medium


13 Roman to Integer 57.3% Easy

14 Longest Common Prefix 36.7% Easy

15 3Sum 28.6% Medium

16 3Sum Closest 46.4% Medium

17 Letter Combinations of a 50.4% Medium

Phone Number

18 4Sum 35.5% Medium

19 Remove Nth Node From End 36.3% Medium

of List

20 Valid Parentheses 40.2% Easy

21 Merge Two Sorted Lists 56.9% Easy

22 Generate Parentheses 66.4% Medium

23 Merge k Sorted Lists 43.6% Hard

24 Swap Nodes in Pairs 54.1% Medium

25 Reverse Nodes in k-Group 46.1% Hard


26 Remove Duplicates from 47.1% Easy

Sorted Array

27 Remove Element 49.8% Easy

28 Implement strStr() 35.6% Easy

29 Divide Two Integers 17.0% Medium

30 Substring with Concatenation 26.6% Hard

of All Words

31 Next Permutation 34.1% Medium

32 Longest Valid Parentheses 30.1% Hard

33 Search in Rotated Sorted 36.4% Medium

Array

34 Find First and Last Position of 38.1% Medium

Element in Sorted Array

35 Search Insert Position 42.9% Easy

36 Valid Sudoku 51.3% Medium

37 Sudoku Solver 48.0% Hard


38 Count and Say 46.7% Medium

39 Combination Sum 60.5% Medium

40 Combination Sum II 50.8% Medium

41 First Missing Positive 34.4% Hard

42 Trapping Rain Water 52.2% Hard

43 Multiply Strings 35.4% Medium

44 Wildcard Matching 25.7% Hard

45 Jump Game II 32.9% Medium

46 Permutations 67.8% Medium

47 Permutations II 50.4% Medium

48 Rotate Image 61.8% Medium

49 Group Anagrams 60.4% Medium

50 Pow(x, n) 31.3% Medium

51 N-Queens 52.1% Hard


53 Maximum Subarray 48.1% Easy

54 Spiral Matrix 37.2% Medium

55 Jump Game 35.5% Medium

56 Merge Intervals 41.9% Medium

57 Insert Interval 35.7% Medium

61 Rotate List 32.2% Medium

62 Unique Paths 56.8% Medium

63 Unique Paths II 36.0% Medium

64 Minimum Path Sum 56.9% Medium

66 Plus One 42.2% Easy

67 Add Binary 47.8% Easy

68 Text Justification 31.0% Hard

69 Sqrt(x) 35.7% Easy

70 Climbing Stairs 49.0% Easy


71 Simplify Path 35.3% Medium

72 Edit Distance 47.7% Hard

73 Set Matrix Zeroes 45.0% Medium

74 Search a 2D Matrix 38.7% Medium

75 Sort Colors 50.5% Medium

76 Minimum Window Substring 36.5% Hard

77 Combinations 58.7% Medium

78 Subsets 66.4% Medium

79 Word Search 37.6% Medium

81 Search in Rotated Sorted 33.8% Medium

Array II

82 Remove Duplicates from 39.9% Medium

Sorted List II

84 Largest Rectangle in 37.9% Hard

Histogram

85 Maximal Rectangle 40.1% Hard


86 Partition List 45.2% Medium

88 Merge Sorted Array 41.1% Easy

91 Decode Ways 27.4% Medium

92 Reverse Linked List II 41.1% Medium

93 Restore IP Addresses 38.4% Medium

94 Binary Tree Inorder Traversal 67.0% Easy

96 Unique Binary Search Trees 55.1% Medium

98 Validate Binary Search Tree 29.2% Medium

99 Recover Binary Search Tree 43.3% Medium

100 Same Tree 54.4% Easy

101 Symmetric Tree 49.0% Easy

102 Binary Tree Level Order 57.8% Medium

Traversal

103 Binary Tree Zigzag Level 50.9% Medium

Order Traversal
104 Maximum Depth of Binary 68.9% Easy

Tree

105 Construct Binary Tree from 53.7% Medium

Preorder and Inorder Traversal

109 Convert Sorted List to Binary 52.3% Medium

Search Tree

110 Balanced Binary Tree 45.1% Easy

111 Minimum Depth of Binary Tree 40.3% Easy

112 Path Sum 43.0% Easy

114 Flatten Binary Tree to Linked 53.7% Medium

List

116 Populating Next Right Pointers 50.5% Medium

in Each Node

117 Populating Next Right Pointers 42.9% Medium

in Each Node II

120 Triangle 47.3% Medium

121 Best Time to Buy and Sell 52.1% Easy

Stock
122 Best Time to Buy and Sell 59.2% Easy

Stock II

123 Best Time to Buy and Sell 40.6% Hard

Stock III

124 Binary Tree Maximum Path 36.0% Hard

Sum

125 Valid Palindrome 39.0% Easy

126 Word Ladder II 24.2% Hard

127 Word Ladder 32.6% Hard

128 Longest Consecutive 47.2% Medium

Sequence

130 Surrounded Regions 30.3% Medium

133 Clone Graph 40.8% Medium

134 Gas Station 42.0% Medium

135 Candy 33.8% Hard

136 Single Number 67.0% Easy


137 Single Number II 54.5% Medium

138 Copy List with Random 42.4% Medium

Pointer

139 Word Break 42.3% Medium

140 Word Break II 36.4% Hard

141 Linked List Cycle 43.4% Easy

142 Linked List Cycle II 40.5% Medium

143 Reorder List 41.8% Medium

144 Binary Tree Preorder Traversal 58.4% Easy

145 Binary Tree Postorder 58.8% Easy

Traversal

146 LRU Cache 36.9% Medium

149 Max Points on a Line 18.2% Hard

150 Evaluate Reverse Polish 39.5% Medium

Notation

152 Maximum Product Subarray 33.1% Medium


153 Find Minimum in Rotated 46.6% Medium

Sorted Array

154 Find Minimum in Rotated 42.2% Hard

Sorted Array II

155 Min Stack 47.3% Easy

159 Longest Substring with At 51.0% Medium

Most Two Distinct Characters

160 Intersection of Two Linked 45.4% Easy

Lists

162 Find Peak Element 44.2% Medium

165 Compare Version Numbers 31.0% Medium

167 Two Sum II - Input array is 56.1% Easy

sorted

169 Majority Element 60.6% Easy

173 Binary Search Tree Iterator 61.4% Medium

174 Dungeon Game 33.7% Hard

179 Largest Number 31.1% Medium


188 Best Time to Buy and Sell 30.6% Hard

Stock IV

189 Rotate Array 36.9% Medium

198 House Robber 43.5% Medium

199 Binary Tree Right Side View 57.0% Medium

200 Number of Islands 50.2% Medium

201 Bitwise AND of Numbers 39.8% Medium

Range

202 Happy Number 51.6% Easy

203 Remove Linked List Elements 39.9% Easy

204 Count Primes 32.8% Easy

205 Isomorphic Strings 40.8% Easy

206 Reverse Linked List 66.4% Easy

207 Course Schedule 44.4% Medium

208 Implement Trie (Prefix Tree) 53.4% Medium


209 Minimum Size Subarray Sum 40.3% Medium

210 Course Schedule II 43.5% Medium

211 Design Add and Search Words 41.2% Medium

Data Structure

212 Word Search II 37.7% Hard

215 Kth Largest Element in an 59.6% Medium

Array

217 Contains Duplicate 57.4% Easy

218 The Skyline Problem 37.0% Hard

219 Contains Duplicate II 39.2% Easy

221 Maximal Square 40.1% Medium

222 Count Complete Tree Nodes 50.4% Medium

224 Basic Calculator 38.5% Hard

225 Implement Stack using 48.5% Easy

Queues

226 Invert Binary Tree 67.9% Easy


227 Basic Calculator II 39.1% Medium

229 Majority Element II 39.5% Medium

230 Kth Smallest Element in a BST 63.6% Medium

232 Implement Queue using 53.3% Easy

Stacks

234 Palindrome Linked List 42.8% Easy

235 Lowest Common Ancestor of a 52.7% Easy

Binary Search Tree

236 Lowest Common Ancestor of a 50.2% Medium

Binary Tree

238 Product of Array Except Self 61.6% Medium

239 Sliding Window Maximum 45.0% Hard

240 Search a 2D Matrix II 45.8% Medium

242 Valid Anagram 59.3% Easy

244 Shortest Word Distance II 55.4% Medium

252 Meeting Rooms 55.7% Easy


253 Meeting Rooms II 47.5% Medium

258 Add Digits 59.0% Easy

261 Graph Valid Tree 43.7% Medium

268 Missing Number 56.0% Easy

269 Alien Dictionary 33.9% Hard

273 Integer to English Words 28.6% Hard

277 Find the Celebrity 44.5% Medium

278 First Bad Version 38.3% Easy

279 Perfect Squares 49.6% Medium

283 Move Zeroes 58.9% Easy

284 Peeking Iterator 51.3% Medium

285 Inorder Successor in BST 44.2% Medium

286 Walls and Gates 57.2% Medium

287 Find the Duplicate Number 58.2% Medium


289 Game of Life 59.6% Medium

295 Find Median from Data Stream 48.1% Hard

296 Best Meeting Point 58.4% Hard

297 Serialize and Deserialize 50.9% Hard

Binary Tree

300 Longest Increasing 45.2% Medium

Subsequence

301 Remove Invalid Parentheses 45.2% Hard

305 Number of Islands II 39.5% Hard

312 Burst Balloons 54.1% Hard

314 Binary Tree Vertical Order 47.7% Medium

Traversal

315 Count of Smaller Numbers 42.3% Hard

After Self

316 Remove Duplicate Letters 39.7% Medium

322 Coin Change 38.1% Medium


323 Number of Connected 58.7% Medium

Components in an Undirected
Graph

324 Wiggle Sort II 31.0% Medium

328 Odd Even Linked List 57.6% Medium

329 Longest Increasing Path in a 46.9% Hard

Matrix

332 Reconstruct Itinerary 38.5% Medium

334 Increasing Triplet 41.0% Medium

Subsequence

337 House Robber III 52.1% Medium

338 Counting Bits 71.0% Easy

339 Nested List Weight Sum 77.3% Medium

341 Flatten Nested List Iterator 56.3% Medium

344 Reverse String 71.2% Easy

345 Reverse Vowels of a String 45.5% Easy


346 Moving Average from Data 74.1% Easy

Stream

347 Top K Frequent Elements 62.9% Medium

348 Design Tic-Tac-Toe 56.2% Medium

349 Intersection of Two Arrays 66.0% Easy

350 Intersection of Two Arrays II 52.5% Easy

353 Design Snake Game 36.6% Medium

354 Russian Doll Envelopes 38.2% Hard

355 Design Twitter 32.2% Medium

362 Design Hit Counter 65.9% Medium

366 Find Leaves of Binary Tree 72.7% Medium

368 Largest Divisible Subset 38.6% Medium

373 Find K Pairs with Smallest 38.5% Medium

Sums

377 Combination Sum IV 47.3% Medium


378 Kth Smallest Element in a 57.0% Medium

Sorted Matrix

380 Insert Delete GetRandom O(1) 49.4% Medium

381 Insert Delete GetRandom O(1) 35.1% Hard

- Duplicates allowed

383 Ransom Note 53.6% Easy

387 First Unique Character in a 54.4% Easy

String

388 Longest Absolute File Path 43.6% Medium

394 Decode String 53.5% Medium

395 Longest Substring with At 43.8% Medium

Least K Repeating Characters

399 Evaluate Division 55.0% Medium

400 Nth Digit 32.6% Medium

402 Remove K Digits 28.7% Medium

403 Frog Jump 41.9% Hard


407 Trapping Rain Water II 44.9% Hard

410 Split Array Largest Sum 47.1% Hard

412 Fizz Buzz 64.2% Easy

415 Add Strings 49.1% Easy

416 Partition Equal Subset Sum 45.2% Medium

417 Pacific Atlantic Water Flow 44.7% Medium

424 Longest Repeating Character 48.8% Medium

Replacement

432 All O`one Data Structure 33.6% Hard

435 Non-overlapping Intervals 44.5% Medium

437 Path Sum III 48.6% Medium

438 Find All Anagrams in a String 45.5% Medium

442 Find All Duplicates in an Array 69.6% Medium

443 String Compression 44.8% Medium


445 Add Two Numbers II 56.9% Medium

448 Find All Numbers Disappeared 56.5% Easy

in an Array

449 Serialize and Deserialize BST 54.7% Medium

454 4Sum II 54.9% Medium

456 132 Pattern 30.7% Medium

460 LFU Cache 37.1% Hard

471 Encode String with Shortest 50.0% Hard

Length

472 Concatenated Words 43.9% Hard

490 The Maze 53.3% Medium

493 Reverse Pairs 27.6% Hard

494 Target Sum 45.6% Medium

496 Next Greater Element I 66.3% Easy

498 Diagonal Traverse 51.2% Medium


503 Next Greater Element II 59.2% Medium

516 Longest Palindromic 56.4% Medium

Subsequence

518 Coin Change 2 52.8% Medium

523 Continuous Subarray Sum 25.2% Medium

525 Contiguous Array 43.9% Medium

535 Encode and Decode TinyURL 82.6% Medium

540 Single Element in a Sorted 58.0% Medium

Array

542 01 Matrix 41.5% Medium

543 Diameter of Binary Tree 50.2% Easy

545 Boundary of Binary Tree 41.0% Medium

547 Number of Provinces 61.2% Medium

173 Shortest Path to Get Food 55.4% Medium

557 Reverse Words in a String III 72.9% Easy


560 Subarray Sum Equals K 43.7% Medium

564 Find the Closest Palindrome 20.4% Hard

567 Permutation in String 44.6% Medium

572 Subtree of Another Tree 44.6% Easy

576 Out of Boundary Paths 36.4% Medium

581 Shortest Unsorted Continuous 33.1% Medium

Subarray

588 Design In-Memory File System 46.9% Hard

609 Find Duplicate File in System 63.0% Medium

617 Merge Two Binary Trees 75.8% Easy

621 Task Scheduler 52.6% Medium

628 Maximum Product of Three 46.7% Easy

Numbers

632 Smallest Range Covering 55.1% Hard

Elements from K Lists

635 Design Log Storage System 60.5% Medium


636 Exclusive Time of Functions 55.8% Medium

642 Design Search Autocomplete 46.9% Hard

System

646 Maximum Length of Pair 53.6% Medium

Chain

647 Palindromic Substrings 62.9% Medium

650 2 Keys Keyboard 50.6% Medium

652 Find Duplicate Subtrees 53.6% Medium

657 Robot Return to Origin 74.3% Easy

658 Find K Closest Elements 42.7% Medium

674 Longest Continuous 46.3% Easy

Increasing Subsequence

675 Cut Off Trees for Golf Event 35.5% Hard

678 Valid Parenthesis String 31.9% Medium

682 Baseball Game 67.8% Easy

684 Redundant Connection 59.5% Medium


685 Redundant Connection II 33.2% Hard

688 Knight Probability in 50.6% Medium

Chessboard

692 Top K Frequent Words 53.5% Medium

694 Number of Distinct Islands 58.5% Medium

695 Max Area of Island 66.7% Medium

713 Subarray Product Less Than K 40.7% Medium

715 Range Module 41.5% Hard

716 Max Stack 43.5% Easy

718 Maximum Length of Repeated 50.8% Medium

Subarray

721 Accounts Merge 52.9% Medium

726 Number of Atoms 51.1% Hard

727 Minimum Window 42.7% Hard

Subsequence

733 Flood Fill 56.1% Easy


735 Asteroid Collision 43.5% Medium

739 Daily Temperatures 65.2% Medium

709 To Lower Case 80.6% Easy

743 Network Delay Time 46.0% Medium

746 Min Cost Climbing Stairs 53.3% Easy

752 Open the Lock 54.7% Medium

426 Convert Binary Search Tree to 62.0% Medium

Sorted Doubly Linked List

759 Employee Free Time 69.0% Hard

429 N-ary Tree Level Order 67.2% Medium

Traversal

428 Serialize and Deserialize 62.3% Hard

N-ary Tree

763 Partition Labels 78.2% Medium

590 N-ary Tree Postorder 74.2% Easy

Traversal
767 Reorganize String 50.6% Medium

771 Jewels and Stones 87.1% Easy

772 Basic Calculator III 44.8% Hard

703 Kth Largest Element in a 51.3% Easy

Stream

775 Global and Local Inversions 46.1% Medium

783 Minimum Distance Between 54.5% Easy

BST Nodes

785 Is Graph Bipartite? 49.0% Medium

787 Cheapest Flights Within K 38.9% Medium

Stops

790 Domino and Tromino Tiling 40.6% Medium

792 Number of Matching 48.6% Medium

Subsequences

794 Valid Tic-Tac-Toe State 34.3% Medium

796 Rotate String 49.0% Easy


797 All Paths From Source to 78.8% Medium

Target

706 Design HashMap 64.0% Easy

814 Binary Tree Pruning 71.7% Medium

815 Bus Routes 43.8% Hard

819 Most Common Word 45.4% Easy

826 Most Profit Assigning Work 39.5% Medium

829 Consecutive Numbers Sum 39.3% Hard

641 Design Circular Deque 56.4% Medium

622 Design Circular Queue 47.8% Medium

489 Robot Room Cleaner 73.4% Hard

836 Rectangle Overlap 42.8% Easy

841 Keys and Rooms 66.8% Medium

844 Backspace String Compare 47.2% Easy


849 Maximize Distance to Closest 44.7% Medium

Person

853 Car Fleet 44.8% Medium

856 Score of Parentheses 65.0% Medium

862 Shortest Subarray with Sum at 25.4% Hard

Least K

863 All Nodes Distance K in Binary 58.6% Medium

Tree

872 Leaf-Similar Trees 64.5% Easy

875 Koko Eating Bananas 53.7% Medium

876 Middle of the Linked List 69.4% Easy

528 Random Pick with Weight 45.0% Medium

887 Super Egg Drop 27.0% Hard

889 Construct Binary Tree from 68.2% Medium

Preorder and Postorder


Traversal

895 Maximum Frequency Stack 63.6% Hard


898 Bitwise ORs of Subarrays 35.0% Medium

901 Online Stock Span 61.7% Medium

909 Snakes and Ladders 39.3% Medium

912 Sort an Array 63.9% Medium

931 Minimum Falling Path Sum 64.3% Medium

937 Reorder Data in Log Files 55.1% Easy

939 Minimum Area Rectangle 52.5% Medium

953 Verifying an Alien Dictionary 52.3% Easy

957 Prison Cells After N Days 40.1% Medium

970 Powerful Integers 43.4% Medium

509 Fibonacci Number 67.8% Easy

973 K Closest Points to Origin 64.9% Medium

979 Distribute Coins in Binary Tree 70.1% Medium

980 Unique Paths III 77.1% Hard


981 Time Based Key-Value Store 54.5% Medium

986 Interval List Intersections 68.8% Medium

987 Vertical Order Traversal of a 39.3% Hard

Binary Tree

992 Subarrays with K Different 51.4% Hard

Integers

993 Cousins in Binary Tree 52.4% Easy

994 Rotting Oranges 49.8% Medium

100 Minimum Cost to Merge 40.8% Hard

0 Stones

100 Find Common Characters 68.8% Easy

100 Construct Binary Search Tree 78.9% Medium

8 from Preorder Traversal

105 Campus Bikes 58.0% Medium

101 Pairs of Songs With Total 51.1% Medium

0 Durations Divisible by 60
1011 Capacity To Ship Packages 60.4% Medium

Within D Days

106 Missing Element in Sorted 55.1% Medium

0 Array

108 Brace Expansion 63.5% Medium

102 Video Stitching 48.9% Medium

109 Two Sum Less Than K 60.8% Easy

1120 Maximum Average Subtree 64.3% Medium

102 Maximum Difference Between 70.1% Medium

6 Node and Ancestor

103 Maximum Sum of Two 59.0% Medium

1 Non-Overlapping Subarrays

1135 Connecting Cities With 60.0% Medium

Minimum Cost

1152 Analyze User Website Visit 43.2% Medium

Pattern
1160 Find Words That Can Be 67.9% Easy

Formed by Characters

104 Robot Bounded In Circle 55.0% Medium

104 Partition Array for Maximum 68.0% Medium

3 Sum

104 Longest Duplicate Substring 31.1% Hard

1166 Design File System 58.8% Medium

1167 Minimum Cost to Connect 65.3% Medium

Sticks

104 Remove All Adjacent 71.6% Easy

7 Duplicates In String

1180 Count Substrings with Only 78.1% Easy

One Distinct Letter

1197 Minimum Knight Moves 38.2% Medium

107 Greatest Common Divisor of 51.9% Easy

1 Strings
122 Meeting Scheduler 54.7% Medium

109 Shortest Path in Binary Matrix 40.5% Medium

124 Design A Leaderboard 66.9% Medium

1105 Filling Bookcase Shelves 57.6% Medium

1106 Parsing A Boolean Expression 59.6% Hard

1110 Delete Nodes And Return 68.1% Medium

Forest

1122 Relative Sort Array 68.0% Easy

1138 Alphabet Board Path 51.6% Medium

131 Decompress Run-Length 85.5% Easy

3 Encoded List

131 Matrix Block Sum 73.9% Medium

1143 Longest Common 58.8% Medium

Subsequence
132 Break a Palindrome 48.8% Medium

132 Sort the Matrix Diagonally 81.4% Medium

130 Deepest Leaves Sum 85.4% Medium

1156 Swap For Longest Repeated 47.1% Medium

Character Substring

1155 Number of Dice Rolls With 47.7% Medium

Target Sum

123 Web Crawler 65.0% Medium

1169 Invalid Transactions 30.6% Medium

136 Number of Days Between Two 46.5% Easy

0 Dates

138 Balance a Binary Search Tree 76.8% Medium

148 Kth Ancestor of a Tree Node 32.8% Hard

3
1190 Reverse Substrings Between 64.6% Medium

Each Pair of Parentheses

1192 Critical Connections in a 51.6% Hard

Network

140 Longest Happy String 53.1% Medium

120 Remove All Adjacent 57.2% Medium

9 Duplicates in String II

121 Minimum Cost to Move Chips 70.7% Easy

7 to The Same Position

122 Count Vowels Permutation 54.1% Hard

122 Queens That Can Attack the 69.7% Medium

2 King

123 Remove Sub-Folders from the 63.1% Medium

3 Filesystem

123 Maximum Profit in Job 48.2% Hard

5 Scheduling

142 First Unique Number 50.3% Medium

9
124 Minimum Remove to Make 64.4% Medium

9 Valid Parentheses

125 Number of Closed Islands 62.1% Medium

125 Maximum Score Words 70.4% Hard

5 Formed by Letters

126 Search Suggestions System 65.5% Medium

127 Find Winner on a Tic Tac Toe 52.9% Easy

5 Game

127 Count Square Submatrices 73.0% Medium

7 with All Ones

129 Shortest Path in a Grid with 43.2% Hard

3 Obstacles Elimination

131 Minimum Insertion Steps to 60.7% Hard

2 Make a String Palindrome

134 Angle Between Hands of a 61.4% Medium

4 Clock

134 Jump Game IV 42.2% Hard

5
133 Minimum Difficulty of a Job 56.5% Hard

5 Schedule

135 Count Negative Numbers in a 75.7% Easy

1 Sorted Matrix

136 How Many Numbers Are 86.0% Easy

5 Smaller Than the Current


Number

138 Cinema Seat Allocation 36.8% Medium

137 Time Needed to Inform All 57.1% Medium

6 Employees

139 Count Number of Teams 73.0% Medium

143 Kids With the Greatest 88.0% Easy

1 Number of Candies

144 Count Good Nodes in Binary 72.1% Medium

8 Tree

146 Maximum Area of a Piece of 36.9% Medium

5 Cake After Horizontal and


Vertical Cuts
149 Average Salary Excluding the 68.0% Easy

1 Minimum and Maximum


Salary

148 Running Sum of 1d Array 88.9% Easy

148 Least Number of Unique 56.1% Medium

1 Integers after K Removals

148 Making File Names Unique 31.8% Medium

149 Path Crossing 55.2% Easy

153 Kth Missing Positive Number 54.7% Easy

155 Detect Cycles in 2D Grid 45.0% Hard

154 Minimum Cost to Cut a Stick 53.2% Hard

160 Design Parking System 86.5% Easy

3
160 Throne Inheritance 61.3% Medium

159 Build Binary Expression Tree 59.0% Hard

7 From Infix Expression

163 Sort Array by Increasing 67.2% Easy

6 Frequency

162 Slowest Key 59.0% Easy

164 Count Sorted Vowel Strings 75.1% Medium

167 Design Front Middle Back 54.3% Medium

0 Queue

162 Design an Expression Tree 80.7% Medium

8 With Evaluate Function

164 Minimum Deletions to Make 55.6% Medium

7 Character Frequencies Unique

164 Sell Diminishing-Valued 31.0% Medium

8 Colored Balls

165 Lowest Common Ancestor of a 76.7% Medium

0 Binary Tree III


167 Find the Most Competitive 45.8% Medium

3 Subsequence

171 Maximum Units on a Truck 70.1% Easy

175 Maximum Number of Events 48.8% Hard

1 That Can Be Attended II

174 Find Distance in a Binary Tree 68.8% Medium

176 Minimum Degree of a 38.3% Hard

1 Connected Trio in a Graph

177 Maximum Score from 30.3% Medium

0 Performing Multiplication
Operations

179 Maximize Score After N 44.6% Hard

9 Operations

186 Longer Contiguous Segments 59.7% Easy

9 of Ones than Zeros

175 Combine Two Tables 65.6% Easy

176 Second Highest Salary 33.9% Easy


180 Consecutive Numbers 43.2% Medium

181 Employees Earning More 62.0% Easy

Than Their Managers

184 Department Highest Salary 41.7% Medium

185 Department Top Three 41.0% Hard

Salaries

196 Delete Duplicate Emails 46.9% Easy

262 Trips and Users 36.2% Hard

579 Find Cumulative Salary of an 38.8% Hard

Employee

615 Average Salary: Departments 53.8% Hard

VS Company

626 Exchange Seats 66.9% Medium

1164 Product Price at a Given Date 69.0% Medium

127 All People Report to the Given 88.2% Medium

0 Manager
147 Sales by Day of the Week 83.1% Hard

1511 Customer Order Frequency 74.6% Easy

159 The Most Frequently Ordered 85.3% Medium

6 Products for Each Customer

1783 Grand Slam Titles 90.3% Medium

You might also like