Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
167 views

Apple - LeetCode PDF

Uploaded by

Tuhin Kundu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
167 views

Apple - LeetCode PDF

Uploaded by

Tuhin Kundu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

7/13/2020 Apple - LeetCode

 Apple

Notice
We've improved our algorithm that calculates company tags and their frequencies to be more accurate and
current.

This page updates weekly on Saturday.

You can filter the results by different time periods.

You have solved 43 / 201 problems.

Show problem tags Select time period: 6 months

# Title Acceptance Difficulty Frequency 

1095 Find in Mountain Array (/problems/find-in-mountain- 35.9% Hard


array)

284 Peeking Iterator (/problems/peeking-iterator) 45.2% Medium

 1 Two Sum (/problems/two-sum) 45.5% Easy

428 Serialize and Deserialize N-ary Tree 59.0% Hard


(/problems/serialize-and-deserialize-n-ary-tree) 

 146 LRU Cache (/problems/lru-cache) 32.8% Medium

391 Perfect Rectangle (/problems/perfect-rectangle) 30.3% Hard

 341 Flatten Nested List Iterator (/problems/flatten-nested- 52.6% Medium


list-iterator)

295 Find Median from Data Stream (/problems/find- 43.9% Hard


median-from-data-stream)

981 Time Based Key-Value Store (/problems/time-based- 52.9% Medium


key-value-store)

1229 Meeting Scheduler (/problems/meeting-scheduler) 52.3% Medium


 53 Maximum Subarray (/problems/maximum-subarray) 46.4% Easy

836 Rectangle Overlap (/problems/rectangle-overlap) 48.8% Easy

https://leetcode.com/company/apple/ 1/11
7/13/2020 Apple - LeetCode

# Title Acceptance Difficulty Frequency 

4 Median of Two Sorted Arrays (/problems/median-of- 29.4% Hard


two-sorted-arrays)

212 Word Search II (/problems/word-search-ii) 34.5% Hard

 2 Add Two Numbers (/problems/add-two-numbers) 33.7% Medium

403 Frog Jump (/problems/frog-jump) 39.5% Hard

87 Scramble String (/problems/scramble-string) 33.5% Hard

821 Shortest Distance to a Character (/problems/shortest- 66.7% Easy


distance-to-a-character)

472 Concatenated Words (/problems/concatenated- 43.3% Hard


words)

140 Word Break II (/problems/word-break-ii) 31.4% Hard

658 Find K Closest Elements (/problems/find-k-closest- 40.7% Medium


elements)

 49 Group Anagrams (/problems/group-anagrams) 56.4% Medium

837 New 21 Game (/problems/new-21-game) 34.5% Medium

909 Snakes and Ladders (/problems/snakes-and-ladders) 38.3% Medium

36 Valid Sudoku (/problems/valid-sudoku) 48.5% Medium

 200 Number of Islands (/problems/number-of-islands) 46.5% Medium

269 Alien Dictionary (/problems/alien-dictionary)  33.3% Hard

348 Design Tic-Tac-Toe (/problems/design-tic-tac-toe)  54.0% Medium

329 Longest Increasing Path in a Matrix 43.2% Hard


(/problems/longest-increasing-path-in-a-matrix)

1221 Split a String in Balanced Strings (/problems/split-a- 83.0% Easy


string-in-balanced-strings)

 42 Trapping Rain Water (/problems/trapping-rain-water) 48.5% Hard

351 Android Unlock Patterns (/problems/android-unlock- 48.1% Medium


patterns) 

632 Smallest Range Covering Elements from K Lists 52.1% Hard


(/problems/smallest-range-covering-elements-from-k-
lists)

https://leetcode.com/company/apple/ 2/11
7/13/2020 Apple - LeetCode

# Title Acceptance Difficulty Frequency 

311 Sparse Matrix Multiplication (/problems/sparse-matrix- 61.5% Medium


multiplication) 

 48 Rotate Image (/problems/rotate-image) 56.1% Medium

729 My Calendar I (/problems/my-calendar-i) 51.5% Medium

128 Longest Consecutive Sequence (/problems/longest- 44.9% Hard


consecutive-sequence)

362 Design Hit Counter (/problems/design-hit-counter) 63.4% Medium


223 Rectangle Area (/problems/rectangle-area) 37.7% Medium

12 Integer to Roman (/problems/integer-to-roman) 54.8% Medium

388 Longest Absolute File Path (/problems/longest- 41.6% Medium


absolute-file-path)

23 Merge k Sorted Lists (/problems/merge-k-sorted-lists) 39.9% Hard

453 Minimum Moves to Equal Array Elements 50.1% Easy


(/problems/minimum-moves-to-equal-array-elements)

 253 Meeting Rooms II (/problems/meeting-rooms-ii)  45.6% Medium

 238 Product of Array Except Self (/problems/product-of- 59.9% Medium


array-except-self)

 297 Serialize and Deserialize Binary Tree 47.1% Hard


(/problems/serialize-and-deserialize-binary-tree)

490 The Maze (/problems/the-maze)  51.2% Medium

545 Boundary of Binary Tree (/problems/boundary-of- 38.9% Medium


binary-tree) 

88 Merge Sorted Array (/problems/merge-sorted-array) 39.2% Easy

 139 Word Break (/problems/word-break) 39.7% Medium

 56 Merge Intervals (/problems/merge-intervals) 39.1% Medium

647 Palindromic Substrings (/problems/palindromic- 60.4% Medium


substrings)

609 Find Duplicate File in System (/problems/find- 59.3% Medium


duplicate-file-in-system)

https://leetcode.com/company/apple/ 3/11
7/13/2020 Apple - LeetCode

# Title Acceptance Difficulty Frequency 

688 Knight Probability in Chessboard (/problems/knight- 48.6% Medium


probability-in-chessboard)

266 Palindrome Permutation (/problems/palindrome- 61.8% Easy


permutation) 

102 Binary Tree Level Order Traversal (/problems/binary- 54.2% Medium


tree-level-order-traversal)

 986 Interval List Intersections (/problems/interval-list- 67.2% Medium


intersections)

509 Fibonacci Number (/problems/fibonacci-number) 67.2% Easy

97 Interleaving String (/problems/interleaving-string) 31.3% Hard

37 Sudoku Solver (/problems/sudoku-solver) 43.1% Hard

34 Find First and Last Position of Element in Sorted 36.0% Medium


Array (/problems/find-first-and-last-position-of-
element-in-sorted-array)

93 Restore IP Addresses (/problems/restore-ip- 35.3% Medium


addresses)

863 All Nodes Distance K in Binary Tree (/problems/all- 54.9% Medium


nodes-distance-k-in-binary-tree)

54 Spiral Matrix (/problems/spiral-matrix) 33.9% Medium

 3 Longest Substring Without Repeating Characters 30.3% Medium


(/problems/longest-substring-without-repeating-
characters)

706 Design HashMap (/problems/design-hashmap) 61.0% Easy

168 Excel Sheet Column Title (/problems/excel-sheet- 30.9% Easy


column-title)

202 Happy Number (/problems/happy-number) 50.3% Easy

384 Shuffle an Array (/problems/shuffle-an-array) 52.6% Medium

178 Rank Scores (/problems/rank-scores) 45.2% Medium

 151 Reverse Words in a String (/problems/reverse-words- 20.7% Medium


in-a-string)

 133 Clone Graph (/problems/clone-graph) 34.2% Medium

https://leetcode.com/company/apple/ 4/11
7/13/2020 Apple - LeetCode

# Title Acceptance Difficulty Frequency 

86 Partition List (/problems/partition-list) 41.2% Medium

 79 Word Search (/problems/word-search) 34.9% Medium

741 Cherry Pickup (/problems/cherry-pickup) 33.9% Hard

931 Minimum Falling Path Sum (/problems/minimum- 62.2% Medium


falling-path-sum)

75 Sort Colors (/problems/sort-colors) 47.1% Medium

796 Rotate String (/problems/rotate-string) 49.7% Easy

 13 Roman to Integer (/problems/roman-to-integer) 55.5% Easy

1197 Minimum Knight Moves (/problems/minimum-knight- 36.0% Medium


moves) 

14 Longest Common Prefix (/problems/longest-common- 35.3% Easy


prefix)

 227 Basic Calculator II (/problems/basic-calculator-ii) 36.7% Medium

 5 Longest Palindromic Substring (/problems/longest- 29.3% Medium


palindromic-substring)

177 Nth Highest Salary (/problems/nth-highest-salary) 31.1% Medium

445 Add Two Numbers II (/problems/add-two-numbers-ii) 54.2% Medium

1146 Snapshot Array (/problems/snapshot-array) 37.0% Medium

480 Sliding Window Median (/problems/sliding-window- 37.0% Hard


median)

867 Transpose Matrix (/problems/transpose-matrix) 62.9% Easy

 206 Reverse Linked List (/problems/reverse-linked-list) 62.0% Easy

220 Contains Duplicate III (/problems/contains-duplicate- 20.9% Medium


iii)

31 Next Permutation (/problems/next-permutation) 32.4% Medium

442 Find All Duplicates in an Array (/problems/find-all- 65.8% Medium


duplicates-in-an-array)

218 The Skyline Problem (/problems/the-skyline-problem) 34.3% Hard

198 House Robber (/problems/house-robber) 41.9% Easy

https://leetcode.com/company/apple/ 5/11
7/13/2020 Apple - LeetCode

# Title Acceptance Difficulty Frequency 

 46 Permutations (/problems/permutations) 63.0% Medium

1315 Sum of Nodes with Even-Valued Grandparent 83.4% Medium


(/problems/sum-of-nodes-with-even-valued-
grandparent)

8 String to Integer (atoi) (/problems/string-to-integer- 15.3% Medium


atoi)

 283 Move Zeroes (/problems/move-zeroes) 57.7% Easy

 518 Coin Change 2 (/problems/coin-change-2) 49.9% Medium

221 Maximal Square (/problems/maximal-square) 37.6% Medium

636 Exclusive Time of Functions (/problems/exclusive- 51.8% Medium


time-of-functions)

886 Possible Bipartition (/problems/possible-bipartition) 43.9% Medium

45 Jump Game II (/problems/jump-game-ii) 30.4% Hard

359 Logger Rate Limiter (/problems/logger-rate-limiter) 70.2% Easy


 108 Convert Sorted Array to Binary Search Tree 57.5% Easy


(/problems/convert-sorted-array-to-binary-search-
tree)

190 Reverse Bits (/problems/reverse-bits) 39.2% Easy

528 Random Pick with Weight (/problems/random-pick- 43.8% Medium


with-weight)

 33 Search in Rotated Sorted Array (/problems/search-in- 34.4% Medium


rotated-sorted-array)

 394 Decode String (/problems/decode-string) 49.6% Medium

 347 Top K Frequent Elements (/problems/top-k-frequent- 60.4% Medium


elements)

525 Contiguous Array (/problems/contiguous-array) 42.6% Medium

 121 Best Time to Buy and Sell Stock (/problems/best- 50.3% Easy
time-to-buy-and-sell-stock)

542 01 Matrix (/problems/01-matrix) 39.6% Medium

https://leetcode.com/company/apple/ 6/11
7/13/2020 Apple - LeetCode

# Title Acceptance Difficulty Frequency 

617 Merge Two Binary Trees (/problems/merge-two- 73.9% Easy


binary-trees)

417 Pacific Atlantic Water Flow (/problems/pacific-atlantic- 40.9% Medium


water-flow)

515 Find Largest Value in Each Tree Row (/problems/find- 60.9% Medium
largest-value-in-each-tree-row)

126 Word Ladder II (/problems/word-ladder-ii) 21.9% Hard

415 Add Strings (/problems/add-strings) 47.3% Easy

669 Trim a Binary Search Tree (/problems/trim-a-binary- 62.9% Easy


search-tree)

767 Reorganize String (/problems/reorganize-string) 48.3% Medium

7 Reverse Integer (/problems/reverse-integer) 25.8% Easy

210 Course Schedule II (/problems/course-schedule-ii) 39.7% Medium

41 First Missing Positive (/problems/first-missing- 31.8% Hard


positive)

51 N-Queens (/problems/n-queens) 46.1% Hard

125 Valid Palindrome (/problems/valid-palindrome) 35.8% Easy

29 Divide Two Integers (/problems/divide-two-integers) 16.4% Medium

977 Squares of a Sorted Array (/problems/squares-of-a- 72.3% Easy


sorted-array)

703 Kth Largest Element in a Stream (/problems/kth- 49.7% Easy


largest-element-in-a-stream)

83 Remove Duplicates from Sorted List 45.2% Easy


(/problems/remove-duplicates-from-sorted-list)

176 Second Highest Salary (/problems/second-highest- 31.3% Easy


salary)

 141 Linked List Cycle (/problems/linked-list-cycle) 40.9% Easy

120 Triangle (/problems/triangle) 43.8% Medium

179 Largest Number (/problems/largest-number) 28.5% Medium

https://leetcode.com/company/apple/ 7/11
7/13/2020 Apple - LeetCode

# Title Acceptance Difficulty Frequency 

 973 K Closest Points to Origin (/problems/k-closest- 63.6% Medium


points-to-origin)

733 Flood Fill (/problems/flood-fill) 55.1% Easy

332 Reconstruct Itinerary (/problems/reconstruct-itinerary) 36.4% Medium

374 Guess Number Higher or Lower (/problems/guess- 42.8% Easy


number-higher-or-lower)

82 Remove Duplicates from Sorted List II 36.5% Medium


(/problems/remove-duplicates-from-sorted-list-ii)

268 Missing Number (/problems/missing-number) 51.5% Easy

287 Find the Duplicate Number (/problems/find-the- 55.1% Medium


duplicate-number)

232 Implement Queue using Stacks 49.1% Easy


(/problems/implement-queue-using-stacks)

273 Integer to English Words (/problems/integer-to- 26.9% Hard


english-words)

16 3Sum Closest (/problems/3sum-closest) 45.9% Medium

136 Single Number (/problems/single-number) 65.3% Easy

 67 Add Binary (/problems/add-binary) 44.1% Easy

104 Maximum Depth of Binary Tree (/problems/maximum- 65.7% Easy


depth-of-binary-tree)

 155 Min Stack (/problems/min-stack) 44.2% Easy

695 Max Area of Island (/problems/max-area-of-island) 62.3% Medium

25 Reverse Nodes in k-Group (/problems/reverse-nodes- 41.6% Hard


in-k-group)

234 Palindrome Linked List (/problems/palindrome-linked- 39.0% Easy


list)

22 Generate Parentheses (/problems/generate- 62.2% Medium


parentheses)

387 First Unique Character in a String (/problems/first- 53.3% Easy


unique-character-in-a-string)

62 Unique Paths (/problems/unique-paths) 53.8% Medium

https://leetcode.com/company/apple/ 8/11
7/13/2020 Apple - LeetCode

# Title Acceptance Difficulty Frequency 

47 Permutations II (/problems/permutations-ii) 46.0% Medium

32 Longest Valid Parentheses (/problems/longest-valid- 28.2% Hard


parentheses)

242 Valid Anagram (/problems/valid-anagram) 56.6% Easy

 322 Coin Change (/problems/coin-change) 35.1% Medium

905 Sort Array By Parity (/problems/sort-array-by-parity) 73.9% Easy

43 Multiply Strings (/problems/multiply-strings) 33.7% Medium

215 Kth Largest Element in an Array (/problems/kth- 54.9% Medium


largest-element-in-an-array)

28 Implement strStr() (/problems/implement-strstr) 34.4% Easy

 21 Merge Two Sorted Lists (/problems/merge-two- 53.2% Easy


sorted-lists)

 20 Valid Parentheses (/problems/valid-parentheses) 38.8% Easy

191 Number of 1 Bits (/problems/number-of-1-bits) 49.3% Easy

 114 Flatten Binary Tree to Linked List (/problems/flatten- 48.7% Medium


binary-tree-to-linked-list)

876 Middle of the Linked List (/problems/middle-of-the- 68.3% Easy


linked-list)

 116 Populating Next Right Pointers in Each Node 44.6% Medium


(/problems/populating-next-right-pointers-in-each-
node)

18 4Sum (/problems/4sum) 33.5% Medium

448 Find All Numbers Disappeared in an Array 55.8% Easy


(/problems/find-all-numbers-disappeared-in-an-array)

692 Top K Frequent Words (/problems/top-k-frequent- 51.5% Medium


words)

73 Set Matrix Zeroes (/problems/set-matrix-zeroes) 43.0% Medium

175 Combine Two Tables (/problems/combine-two-tables) 60.3% Easy

239 Sliding Window Maximum (/problems/sliding-window- 42.7% Hard


maximum)

https://leetcode.com/company/apple/ 9/11
7/13/2020 Apple - LeetCode

# Title Acceptance Difficulty Frequency 

118 Pascal's Triangle (/problems/pascals-triangle) 52.0% Easy

 70 Climbing Stairs (/problems/climbing-stairs) 47.1% Easy

142 Linked List Cycle II (/problems/linked-list-cycle-ii) 36.9% Medium

162 Find Peak Element (/problems/find-peak-element) 43.2% Medium

230 Kth Smallest Element in a BST (/problems/kth- 59.8% Medium


smallest-element-in-a-bst)

 138 Copy List with Random Pointer (/problems/copy-list- 35.8% Medium


with-random-pointer)

 127 Word Ladder (/problems/word-ladder) 29.2% Medium

 103 Binary Tree Zigzag Level Order Traversal 47.0% Medium


(/problems/binary-tree-zigzag-level-order-traversal)

153 Find Minimum in Rotated Sorted Array 44.8% Medium


(/problems/find-minimum-in-rotated-sorted-array)

24 Swap Nodes in Pairs (/problems/swap-nodes-in-pairs) 50.0% Medium

76 Minimum Window Substring (/problems/minimum- 34.4% Hard


window-substring)

39 Combination Sum (/problems/combination-sum) 55.6% Medium

300 Longest Increasing Subsequence (/problems/longest- 42.5% Medium


increasing-subsequence)

55 Jump Game (/problems/jump-game) 34.5% Medium

350 Intersection of Two Arrays II (/problems/intersection- 51.2% Easy


of-two-arrays-ii)

78 Subsets (/problems/subsets) 61.4% Medium

226 Invert Binary Tree (/problems/invert-binary-tree) 64.6% Easy

169 Majority Element (/problems/majority-element) 58.5% Easy

 236 Lowest Common Ancestor of a Binary Tree 45.1% Medium


(/problems/lowest-common-ancestor-of-a-binary-tree)

17 Letter Combinations of a Phone Number 46.5% Medium


(/problems/letter-combinations-of-a-phone-number)

https://leetcode.com/company/apple/ 10/11
7/13/2020 Apple - LeetCode

# Title Acceptance Difficulty Frequency 

167 Two Sum II - Input array is sorted (/problems/two- 53.8% Easy


sum-ii-input-array-is-sorted)

122 Best Time to Buy and Sell Stock II (/problems/best- 56.6% Easy
time-to-buy-and-sell-stock-ii)

94 Binary Tree Inorder Traversal (/problems/binary-tree- 62.9% Medium


inorder-traversal)

11 Container With Most Water (/problems/container-with- 50.5% Medium


most-water)

9 Palindrome Number (/problems/palindrome-number) 48.1% Easy

344 Reverse String (/problems/reverse-string) 68.2% Easy

 15 3Sum (/problems/3sum) 26.7% Medium

26 Remove Duplicates from Sorted Array 44.9% Easy


(/problems/remove-duplicates-from-sorted-array)

Copyright © 2020 LeetCode


Help Center (/support/) | Terms (/terms/) | Privacy Policy (/privacy/)
United States (/region/)

https://leetcode.com/company/apple/ 11/11

You might also like