4/24/2019 Microsoft - LeetCode
Microsoft
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 58 / 291 problems.
Show problem tags Select time period: 1 year
# Title Acceptance Difficulty Frequency
138 Copy List with Random Pointer (/problems/copy-list- 26.6% Medium
with-random-pointer)
151 Reverse Words in a String (/problems/reverse-words- 16.4% Medium
in-a-string)
402 Remove K Digits (/problems/remove-k-digits) 26.4% Medium
165 Compare Version Numbers (/problems/compare- 23.2% Medium
version-numbers)
1 Two Sum (/problems/two-sum) 43.5% Easy
348 Design Tic-Tac-Toe (/problems/design-tic-tac-toe) 49.3% Medium
103 Binary Tree Zigzag Level Order Traversal 41.3% Medium
(/problems/binary-tree-zigzag-level-order-traversal)
146 LRU Cache (/problems/lru-cache) 25.0% Hard
88 Merge Sorted Array (/problems/merge-sorted-array) 35.4% Easy
253 Meeting Rooms II (/problems/meeting-rooms-ii) 42.7% Medium
54 Spiral Matrix (/problems/spiral-matrix) 30.1% Medium
200 Number of Islands (/problems/number-of-islands) 41.1% Medium
445 Add Two Numbers II (/problems/add-two-numbers-ii) 49.8% Medium
https://leetcode.com/company/microsoft/ 1/16
4/24/2019 Microsoft - LeetCode
(p )
# Title Acceptance Difficulty Frequency
2 Add Two Numbers (/problems/add-two-numbers) 31.0% Medium
25 Reverse Nodes in k-Group (/problems/reverse-nodes- 36.0% Hard
in-k-group)
443 String Compression (/problems/string-compression) 37.4% Easy
794 Valid Tic-Tac-Toe State (/problems/valid-tic-tac-toe- 29.4% Medium
state)
564 Find the Closest Palindrome (/problems/find-the- 18.6% Hard
closest-palindrome)
10 Regular Expression Matching (/problems/regular- 25.2% Hard
expression-matching)
48 Rotate Image (/problems/rotate-image) 47.9% Medium
4 Median of Two Sorted Arrays (/problems/median-of- 26.1% Hard
two-sorted-arrays)
8 String to Integer (atoi) (/problems/string-to-integer-atoi) 14.6% Medium
186 Reverse Words in a String II (/problems/reverse-words- 37.3% Medium
in-a-string-ii)
53 Maximum Subarray (/problems/maximum-subarray) 43.3% Easy
206 Reverse Linked List (/problems/reverse-linked-list) 54.0% Easy
20 Valid Parentheses (/problems/valid-parentheses) 36.3% Easy
297 Serialize and Deserialize Binary Tree 40.3% Hard
(/problems/serialize-and-deserialize-binary-tree)
273 Integer to English Words (/problems/integer-to-english- 24.2% Hard
words)
636 Exclusive Time of Functions (/problems/exclusive-time- 48.4% Medium
of-functions)
75 Sort Colors (/problems/sort-colors) 41.9% Medium
85 Maximal Rectangle (/problems/maximal-rectangle) 33.0% Hard
722 Remove Comments (/problems/remove-comments) 30.9% Medium
285 Inorder Successor in BST (/problems/inorder- 34.3% Medium
successor-in-bst)
https://leetcode.com/company/microsoft/ 2/16
4/24/2019 Microsoft - LeetCode
successor in bst)
# Title Acceptance Difficulty Frequency
24 Swap Nodes in Pairs (/problems/swap-nodes-in-pairs) 44.2% Medium
417 Pacific Atlantic Water Flow (/problems/pacific-atlantic- 37.2% Medium
water-flow)
121 Best Time to Buy and Sell Stock (/problems/best-time- 46.9% Easy
to-buy-and-sell-stock)
98 Validate Binary Search Tree (/problems/validate- 25.6% Medium
binary-search-tree)
5 Longest Palindromic Substring (/problems/longest- 27.1% Medium
palindromic-substring)
23 Merge k Sorted Lists (/problems/merge-k-sorted-lists) 34.0% Hard
79 Word Search (/problems/word-search) 31.0% Medium
545 Boundary of Binary Tree (/problems/boundary-of- 34.8% Medium
binary-tree)
295 Find Median from Data Stream (/problems/find- 36.0% Hard
median-from-data-stream)
706 Design HashMap (/problems/design-hashmap) 55.7% Easy
21 Merge Two Sorted Lists (/problems/merge-two-sorted- 46.8% Easy
lists)
240 Search a 2D Matrix II (/problems/search-a-2d-matrix-ii) 40.7% Medium
13 Roman to Integer (/problems/roman-to-integer) 52.1% Easy
224 Basic Calculator (/problems/basic-calculator) 32.3% Hard
287 Find the Duplicate Number (/problems/find-the- 49.2% Medium
duplicate-number)
44 Wildcard Matching (/problems/wildcard-matching) 22.7% Hard
17 Letter Combinations of a Phone Number 41.2% Medium
(/problems/letter-combinations-of-a-phone-number)
229 Majority Element II (/problems/majority-element-ii) 31.8% Medium
450 Delete Node in a BST (/problems/delete-node-in-a-bst) 39.7% Medium
31 Next Permutation (/problems/next-permutation) 30.3% Medium
https://leetcode.com/company/microsoft/ 3/16
4/24/2019 Microsoft - LeetCode
168
# Excel
Title Sheet Column Title (/problems/excel-sheet- 28.8%
Acceptance Easy
Difficulty Frequency
column-title)
72 Edit Distance (/problems/edit-distance) 37.2% Hard
428 Serialize and Deserialize N-ary Tree 53.4% Hard
(/problems/serialize-and-deserialize-n-ary-tree)
322 Coin Change (/problems/coin-change) 29.9% Medium
42 Trapping Rain Water (/problems/trapping-rain-water) 42.7% Hard
92 Reverse Linked List II (/problems/reverse-linked-list-ii) 34.6% Medium
160 Intersection of Two Linked Lists 33.3% Easy
(/problems/intersection-of-two-linked-lists)
529 Minesweeper (/problems/minesweeper) 52.4% Medium
669 Trim a Binary Search Tree (/problems/trim-a-binary- 60.1% Easy
search-tree)
344 Reverse String (/problems/reverse-string) 63.1% Easy
49 Group Anagrams (/problems/group-anagrams) 46.0% Medium
33 Search in Rotated Sorted Array (/problems/search-in- 32.8% Medium
rotated-sorted-array)
449 Serialize and Deserialize BST (/problems/serialize- 46.7% Medium
and-deserialize-bst)
43 Multiply Strings (/problems/multiply-strings) 30.4% Medium
141 Linked List Cycle (/problems/linked-list-cycle) 36.5% Easy
692 Top K Frequent Words (/problems/top-k-frequent- 45.4% Medium
words)
208 Implement Trie (Prefix Tree) (/problems/implement-trie- 37.9% Medium
prefix-tree)
116 Populating Next Right Pointers in Each Node 37.5% Medium
(/problems/populating-next-right-pointers-in-each-
node)
94 Binary Tree Inorder Traversal (/problems/binary-tree- 56.1% Medium
inorder-traversal)
174 Dungeon Game (/problems/dungeon game) 26 9% H d
https://leetcode.com/company/microsoft/ 4/16
4/24/2019 Microsoft - LeetCode
174 Dungeon Game (/problems/dungeon-game) 26.9% Hard
# Title Acceptance Difficulty Frequency
3 Longest Substring Without Repeating Characters 28.2% Medium
(/problems/longest-substring-without-repeating-
characters)
123 Best Time to Buy and Sell Stock III (/problems/best- 33.4% Hard
time-to-buy-and-sell-stock-iii)
227 Basic Calculator II (/problems/basic-calculator-ii) 33.1% Medium
15 3Sum (/problems/3sum) 23.8% Medium
917 Reverse Only Letters (/problems/reverse-only-letters) 56.0% Easy
407 Trapping Rain Water II (/problems/trapping-rain-water- 38.9% Hard
ii)
22 Generate Parentheses (/problems/generate- 54.3% Medium
parentheses)
61 Rotate List (/problems/rotate-list) 26.9% Medium
419 Battleships in a Board (/problems/battleships-in-a- 65.5% Medium
board)
568 Maximum Vacation Days (/problems/maximum- 37.9% Hard
vacation-days)
772 Basic Calculator III (/problems/basic-calculator-iii) 43.8% Hard
277 Find the Celebrity (/problems/find-the-celebrity) 36.4% Medium
836 Rectangle Overlap (/problems/rectangle-overlap) 46.2% Easy
679 24 Game (/problems/24-game) 42.3% Hard
105 Construct Binary Tree from Preorder and Inorder 40.5% Medium
Traversal (/problems/construct-binary-tree-from-
preorder-and-inorder-traversal)
204 Count Primes (/problems/count-primes) 28.7% Easy
56 Merge Intervals (/problems/merge-intervals) 35.4% Medium
239 Sliding Window Maximum (/problems/sliding-window- 37.8% Hard
maximum)
37 Sudoku Solver (/problems/sudoku-solver) 36.4% Hard
93 Restore IP Addresses (/problems/restore-ip- 31 2% Medium
https://leetcode.com/company/microsoft/ 5/16
4/24/2019 Microsoft - LeetCode
93 Restore IP Addresses (/problems/restore ip 31.2% Medium
# Title
addresses) Acceptance Difficulty Frequency
535 Encode and Decode TinyURL (/problems/encode-and- 76.4% Medium
decode-tinyurl)
64 Minimum Path Sum (/problems/minimum-path-sum) 46.4% Medium
102 Binary Tree Level Order Traversal (/problems/binary- 48.0% Medium
tree-level-order-traversal)
415 Add Strings (/problems/add-strings) 43.5% Easy
300 Longest Increasing Subsequence (/problems/longest- 40.6% Medium
increasing-subsequence)
173 Binary Search Tree Iterator (/problems/binary-search- 48.1% Medium
tree-iterator)
347 Top K Frequent Elements (/problems/top-k-frequent- 54.4% Medium
elements)
134 Gas Station (/problems/gas-station) 33.5% Medium
236 Lowest Common Ancestor of a Binary Tree 36.6% Medium
(/problems/lowest-common-ancestor-of-a-binary-tree)
12 Integer to Roman (/problems/integer-to-roman) 50.6% Medium
493 Reverse Pairs (/problems/reverse-pairs) 22.9% Hard
171 Excel Sheet Column Number (/problems/excel-sheet- 51.3% Easy
column-number)
557 Reverse Words in a String III (/problems/reverse- 63.7% Easy
words-in-a-string-iii)
935 Knight Dialer (/problems/knight-dialer) 39.7% Medium
36 Valid Sudoku (/problems/valid-sudoku) 42.6% Medium
218 The Skyline Problem (/problems/the-skyline-problem) 31.5% Hard
242 Valid Anagram (/problems/valid-anagram) 51.7% Easy
19 Remove Nth Node From End of List 34.2% Medium
(/problems/remove-nth-node-from-end-of-list)
143 Reorder List (/problems/reorder-list) 30.4% Medium
638 Shopping Offers (/problems/shopping-offers) 48.3% Medium
https://leetcode.com/company/microsoft/ 6/16
4/24/2019 Microsoft - LeetCode
pp g (p pp g )
# Title Acceptance Difficulty Frequency
133 Clone Graph (/problems/clone-graph) 26.1% Medium
460 LFU Cache (/problems/lfu-cache) 28.6% Hard
172 Factorial Trailing Zeroes (/problems/factorial-trailing- 37.3% Easy
zeroes)
694 Number of Distinct Islands (/problems/number-of- 50.9% Medium
distinct-islands)
117 Populating Next Right Pointers in Each Node II 34.0% Medium
(/problems/populating-next-right-pointers-in-each-
node-ii)
235 Lowest Common Ancestor of a Binary Search Tree 44.2% Easy
(/problems/lowest-common-ancestor-of-a-binary-
search-tree)
362 Design Hit Counter (/problems/design-hit-counter) 58.8% Medium
232 Implement Queue using Stacks (/problems/implement- 42.8% Easy
queue-using-stacks)
518 Coin Change 2 (/problems/coin-change-2) 42.2% Medium
162 Find Peak Element (/problems/find-peak-element) 41.1% Medium
863 All Nodes Distance K in Binary Tree (/problems/all- 46.5% Medium
nodes-distance-k-in-binary-tree)
155 Min Stack (/problems/min-stack) 36.5% Easy
490 The Maze (/problems/the-maze) 47.1% Medium
314 Binary Tree Vertical Order Traversal (/problems/binary- 40.7% Medium
tree-vertical-order-traversal)
652 Find Duplicate Subtrees (/problems/find-duplicate- 45.0% Medium
subtrees)
84 Largest Rectangle in Histogram (/problems/largest- 30.8% Hard
rectangle-in-histogram)
234 Palindrome Linked List (/problems/palindrome-linked- 35.8% Easy
list)
223 Rectangle Area (/problems/rectangle-area) 35.7% Medium
https://leetcode.com/company/microsoft/ 7/16
4/24/2019 Microsoft - LeetCode
#
215 Kth Largest Element in an Array (/problems/kth-largest-
Title Acceptance
47.2% Difficulty
Medium Frequency
element-in-an-array)
280 Wiggle Sort (/problems/wiggle-sort) 60.9% Medium
76 Minimum Window Substring (/problems/minimum- 30.5% Hard
window-substring)
238 Product of Array Except Self (/problems/product-of- 54.6% Medium
array-except-self)
71 Simplify Path (/problems/simplify-path) 28.5% Medium
11 Container With Most Water (/problems/container-with- 43.8% Medium
most-water)
346 Moving Average from Data Stream (/problems/moving- 65.9% Easy
average-from-data-stream)
139 Word Break (/problems/word-break) 35.0% Medium
7 Reverse Integer (/problems/reverse-integer) 25.2% Easy
28 Implement strStr() (/problems/implement-strstr) 31.7% Easy
394 Decode String (/problems/decode-string) 44.5% Medium
662 Maximum Width of Binary Tree (/problems/maximum- 39.7% Medium
width-of-binary-tree)
38 Count and Say (/problems/count-and-say) 40.2% Easy
91 Decode Ways (/problems/decode-ways) 22.2% Medium
74 Search a 2D Matrix (/problems/search-a-2d-matrix) 34.8% Medium
237 Delete Node in a Linked List (/problems/delete-node- 53.0% Easy
in-a-linked-list)
333 Largest BST Subtree (/problems/largest-bst-subtree) 32.8% Medium
114 Flatten Binary Tree to Linked List (/problems/flatten- 41.9% Medium
binary-tree-to-linked-list)
286 Walls and Gates (/problems/walls-and-gates) 49.1% Medium
503 Next Greater Element II (/problems/next-greater- 50.8% Medium
element-ii)
https://leetcode.com/company/microsoft/ 8/16
4/24/2019 Microsoft - LeetCode
#
140 Title Break II (/problems/word-break-ii)
Word Acceptance
27.1% Difficulty
Hard Frequency
759 Employee Free Time (/problems/employee-free-time) 61.2% Hard
86 Partition List (/problems/partition-list) 36.9% Medium
671 Second Minimum Node In a Binary Tree 43.5% Easy
(/problems/second-minimum-node-in-a-binary-tree)
73 Set Matrix Zeroes (/problems/set-matrix-zeroes) 39.5% Medium
289 Game of Life (/problems/game-of-life) 44.6% Medium
150 Evaluate Reverse Polish Notation (/problems/evaluate- 31.9% Medium
reverse-polish-notation)
199 Binary Tree Right Side View (/problems/binary-tree- 47.5% Medium
right-side-view)
632 Smallest Range (/problems/smallest-range) 46.6% Hard
655 Print Binary Tree (/problems/print-binary-tree) 51.6% Medium
212 Word Search II (/problems/word-search-ii) 28.2% Hard
426 Convert Binary Search Tree to Sorted Doubly Linked 51.3% Medium
List (/problems/convert-binary-search-tree-to-sorted-
doubly-linked-list)
688 Knight Probability in Chessboard (/problems/knight- 43.8% Medium
probability-in-chessboard)
784 Letter Case Permutation (/problems/letter-case- 56.1% Easy
permutation)
516 Longest Palindromic Subsequence (/problems/longest- 46.1% Medium
palindromic-subsequence)
523 Continuous Subarray Sum (/problems/continuous- 24.2% Medium
subarray-sum)
189 Rotate Array (/problems/rotate-array) 29.7% Easy
283 Move Zeroes (/problems/move-zeroes) 54.1% Easy
683 K Empty Slots (/problems/k-empty-slots) 34.0% Hard
328 Odd Even Linked List (/problems/odd-even-linked-list) 48.8% Medium
https://leetcode.com/company/microsoft/ 9/16
4/24/2019 Microsoft - LeetCode
45
# Jump
Title Game II (/problems/jump-game-ii) 27.9%
Acceptance Hard
Difficulty Frequency
128 Longest Consecutive Sequence (/problems/longest- 41.4% Hard
consecutive-sequence)
384 Shuffle an Array (/problems/shuffle-an-array) 49.9% Medium
210 Course Schedule II (/problems/course-schedule-ii) 34.4% Medium
442 Find All Duplicates in an Array (/problems/find-all- 60.5% Medium
duplicates-in-an-array)
125 Valid Palindrome (/problems/valid-palindrome) 30.8% Easy
126 Word Ladder II (/problems/word-ladder-ii) 17.4% Hard
572 Subtree of Another Tree (/problems/subtree-of- 41.6% Easy
another-tree)
46 Permutations (/problems/permutations) 54.6% Medium
55 Jump Game (/problems/jump-game) 31.7% Medium
110 Balanced Binary Tree (/problems/balanced-binary-tree) 40.7% Easy
729 My Calendar I (/problems/my-calendar-i) 46.9% Medium
642 Design Search Autocomplete System 37.0% Hard
(/problems/design-search-autocomplete-system)
191 Number of 1 Bits (/problems/number-of-1-bits) 42.8% Easy
708 Insert into a Cyclic Sorted List (/problems/insert-into-a- 28.7% Medium
cyclic-sorted-list)
316 Remove Duplicate Letters (/problems/remove- 32.2% Hard
duplicate-letters)
51 N-Queens (/problems/n-queens) 38.7% Hard
59 Spiral Matrix II (/problems/spiral-matrix-ii) 46.1% Medium
124 Binary Tree Maximum Path Sum (/problems/binary- 29.8% Hard
tree-maximum-path-sum)
39 Combination Sum (/problems/combination-sum) 47.8% Medium
142 Linked List Cycle II (/problems/linked-list-cycle-ii) 31.6% Medium
https://leetcode.com/company/microsoft/ 10/16
4/24/2019 Microsoft - LeetCode
378
# Kth
TitleSmallest Element in a Sorted Matrix 49.1%
Acceptance Medium
Difficulty Frequency
(/problems/kth-smallest-element-in-a-sorted-matrix)
611 Valid Triangle Number (/problems/valid-triangle- 44.8% Medium
number)
225 Implement Stack using Queues (/problems/implement- 38.8% Easy
stack-using-queues)
266 Palindrome Permutation (/problems/palindrome- 59.9% Easy
permutation)
543 Diameter of Binary Tree (/problems/diameter-of-binary- 46.5% Easy
tree)
41 First Missing Positive (/problems/first-missing-positive) 28.6% Hard
109 Convert Sorted List to Binary Search Tree 40.4% Medium
(/problems/convert-sorted-list-to-binary-search-tree)
167 Two Sum II - Input array is sorted (/problems/two-sum- 50.0% Easy
ii-input-array-is-sorted)
230 Kth Smallest Element in a BST (/problems/kth- 50.9% Medium
smallest-element-in-a-bst)
50 Pow(x, n) (/problems/powx-n) 27.8% Medium
695 Max Area of Island (/problems/max-area-of-island) 56.8% Medium
958 Check Completeness of a Binary Tree 46.6% Medium
(/problems/check-completeness-of-a-binary-tree)
284 Peeking Iterator (/problems/peeking-iterator) 40.2% Medium
69 Sqrt(x) (/problems/sqrtx) 31.1% Easy
70 Climbing Stairs (/problems/climbing-stairs) 43.9% Easy
106 Construct Binary Tree from Inorder and Postorder 38.8% Medium
Traversal (/problems/construct-binary-tree-from-
inorder-and-postorder-traversal)
161 One Edit Distance (/problems/one-edit-distance) 31.6% Medium
541 Reverse String II (/problems/reverse-string-ii) 45.3% Easy
560 Subarray Sum Equals K (/problems/subarray-sum- 42.1% Medium
equals-k)
380 Insert Delete GetRandom O(1) (/problems/insert- 42 5% Medium
https://leetcode.com/company/microsoft/ 11/16
4/24/2019 Microsoft - LeetCode
380 Insert Delete GetRandom O(1) (/problems/insert 42.5% Medium
# Title
delete-getrandom-o1) Acceptance Difficulty Frequency
787 Cheapest Flights Within K Stops (/problems/cheapest- 34.5% Medium
flights-within-k-stops)
81 Search in Rotated Sorted Array II (/problems/search-in- 32.6% Medium
rotated-sorted-array-ii)
373 Find K Pairs with Smallest Sums (/problems/find-k- 33.6% Medium
pairs-with-smallest-sums)
304 Range Sum Query 2D - Immutable (/problems/range- 31.9% Medium
sum-query-2d-immutable)
647 Palindromic Substrings (/problems/palindromic- 56.5% Medium
substrings)
97 Interleaving String (/problems/interleaving-string) 27.7% Hard
979 Distribute Coins in Binary Tree (/problems/distribute- 66.3% Medium
coins-in-binary-tree)
68 Text Justification (/problems/text-justification) 23.0% Hard
9 Palindrome Number (/problems/palindrome-number) 42.9% Easy
448 Find All Numbers Disappeared in an Array 53.1% Easy
(/problems/find-all-numbers-disappeared-in-an-array)
819 Most Common Word (/problems/most-common-word) 42.1% Easy
228 Summary Ranges (/problems/summary-ranges) 35.7% Medium
528 Random Pick with Weight (/problems/random-pick- 42.7% Medium
with-weight)
32 Longest Valid Parentheses (/problems/longest-valid- 25.3% Hard
parentheses)
149 Max Points on a Line (/problems/max-points-on-a-line) 15.7% Hard
269 Alien Dictionary (/problems/alien-dictionary) 30.7% Hard
270 Closest Binary Search Tree Value (/problems/closest- 43.6% Easy
binary-search-tree-value)
707 Design Linked List (/problems/design-linked-list) 23.2% Easy
40 Combination Sum II (/problems/combination-sum-ii) 41.1% Medium
https://leetcode.com/company/microsoft/ 12/16
4/24/2019 Microsoft - LeetCode
216
# Combination
Title Sum III (/problems/combination-sum-iii) 51.1%
Acceptance Medium
Difficulty Frequency
329 Longest Increasing Path in a Matrix 39.7% Hard
(/problems/longest-increasing-path-in-a-matrix)
414 Third Maximum Number (/problems/third-maximum- 28.9% Easy
number)
658 Find K Closest Elements (/problems/find-k-closest- 37.8% Medium
elements)
785 Is Graph Bipartite? (/problems/is-graph-bipartite) 42.9% Medium
122 Best Time to Buy and Sell Stock II (/problems/best- 51.6% Easy
time-to-buy-and-sell-stock-ii)
547 Friend Circles (/problems/friend-circles) 53.3% Medium
152 Maximum Product Subarray (/problems/maximum- 29.0% Medium
product-subarray)
153 Find Minimum in Rotated Sorted Array (/problems/find- 42.8% Medium
minimum-in-rotated-sorted-array)
387 First Unique Character in a String (/problems/first- 49.7% Easy
unique-character-in-a-string)
451 Sort Characters By Frequency (/problems/sort- 55.7% Medium
characters-by-frequency)
127 Word Ladder (/problems/word-ladder) 23.6% Medium
176 Second Highest Salary (/problems/second-highest- 26.8% Easy
salary)
207 Course Schedule (/problems/course-schedule) 37.4% Medium
332 Reconstruct Itinerary (/problems/reconstruct-itinerary) 31.2% Medium
416 Partition Equal Subset Sum (/problems/partition-equal- 40.3% Medium
subset-sum)
26 Remove Duplicates from Sorted Array 40.3% Easy
(/problems/remove-duplicates-from-sorted-array)
101 Symmetric Tree (/problems/symmetric-tree) 43.2% Easy
221 Maximal Square (/problems/maximal-square) 32.7% Medium
412 Fizz Buzz (/problems/fizz-buzz) 59.3% Easy
https://leetcode.com/company/microsoft/ 13/16
4/24/2019 Microsoft - LeetCode
796
# Rotate
Title String (/problems/rotate-string) 48.9%
Acceptance Easy
Difficulty Frequency
65 Valid Number (/problems/valid-number) 13.9% Hard
108 Convert Sorted Array to Binary Search Tree 50.2% Easy
(/problems/convert-sorted-array-to-binary-search-tree)
290 Word Pattern (/problems/word-pattern) 34.8% Easy
341 Flatten Nested List Iterator (/problems/flatten-nested- 47.5% Medium
list-iterator)
905 Sort Array By Parity (/problems/sort-array-by-parity) 72.5% Easy
57 Insert Interval (/problems/insert-interval) 31.1% Hard
83 Remove Duplicates from Sorted List 42.3% Easy
(/problems/remove-duplicates-from-sorted-list)
118 Pascal's Triangle (/problems/pascals-triangle) 45.5% Easy
120 Triangle (/problems/triangle) 39.0% Medium
371 Sum of Two Integers (/problems/sum-of-two-integers) 51.0% Easy
724 Find Pivot Index (/problems/find-pivot-index) 40.9% Easy
973 K Closest Points to Origin (/problems/k-closest-points- 63.2% Medium
to-origin)
77 Combinations (/problems/combinations) 47.1% Medium
148 Sort List (/problems/sort-list) 34.8% Medium
209 Minimum Size Subarray Sum (/problems/minimum- 34.6% Medium
size-subarray-sum)
621 Task Scheduler (/problems/task-scheduler) 45.2% Medium
739 Daily Temperatures (/problems/daily-temperatures) 59.8% Medium
701 Insert into a Binary Search Tree (/problems/insert-into- 75.0% Medium
a-binary-search-tree)
257 Binary Tree Paths (/problems/binary-tree-paths) 45.6% Easy
852 Peak Index in a Mountain Array (/problems/peak-index- 69.5% Easy
in-a-mountain-array)
107 Binary Tree Level Order Traversal II (/problems/binary- 46.3% Easy
tree-level-order-traversal-ii)
https://leetcode.com/company/microsoft/ 14/16
4/24/2019 Microsoft - LeetCode
tree level order traversal ii)
# Title Acceptance Difficulty Frequency
18 4Sum (/problems/4sum) 30.2% Medium
63 Unique Paths II (/problems/unique-paths-ii) 33.4% Medium
66 Plus One (/problems/plus-one) 41.0% Easy
203 Remove Linked List Elements (/problems/remove- 35.6% Easy
linked-list-elements)
16 3Sum Closest (/problems/3sum-closest) 44.4% Medium
29 Divide Two Integers (/problems/divide-two-integers) 16.2% Medium
111 Minimum Depth of Binary Tree (/problems/minimum- 35.1% Easy
depth-of-binary-tree)
349 Intersection of Two Arrays (/problems/intersection-of- 54.1% Easy
two-arrays)
34 Find First and Last Position of Element in Sorted Array 33.4% Medium
(/problems/find-first-and-last-position-of-element-in-
sorted-array)
62 Unique Paths (/problems/unique-paths) 47.2% Medium
67 Add Binary (/problems/add-binary) 38.7% Easy
78 Subsets (/problems/subsets) 52.2% Medium
112 Path Sum (/problems/path-sum) 37.5% Easy
169 Majority Element (/problems/majority-element) 52.2% Easy
509 Fibonacci Number (/problems/fibonacci-number) 66.8% Easy
198 House Robber (/problems/house-robber) 40.9% Easy
929 Unique Email Addresses (/problems/unique-email- 72.8% Easy
addresses)
14 Longest Common Prefix (/problems/longest-common- 33.3% Easy
prefix)
Copyright © 2019 LeetCode
https://leetcode.com/company/microsoft/ 15/16
4/24/2019 Microsoft - LeetCode
Help Center (/support/) | Terms (/terms/) | Privacy Policy (/privacy/)
United States (/region/)
https://leetcode.com/company/microsoft/ 16/16