0% found this document useful (0 votes)
40 views18 pages

Facebook - 1year-LeetCode

The document shows a user's solved problems on LeetCode tagged by Facebook. It lists 320 problems by title, acceptance rate, difficulty, and frequency. The user has solved 64 of these problems. The page updates weekly on Saturdays and allows filtering results by time period.

Uploaded by

banedag
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views18 pages

Facebook - 1year-LeetCode

The document shows a user's solved problems on LeetCode tagged by Facebook. It lists 320 problems by title, acceptance rate, difficulty, and frequency. The user has solved 64 of these problems. The page updates weekly on Saturdays and allows filtering results by time period.

Uploaded by

banedag
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

02/12/2019 Facebook - LeetCode

 Facebook

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 64 / 320 problems.

Show problem tags Select time period: 1 year

  # Title Acceptance Difficulty Frequency 

301 Remove Invalid Parentheses (/problems/remove- 41.1% Hard


invalid-parentheses)

953 Verifying an Alien Dictionary (/problems/verifying- 55.3% Easy


an-alien-dictionary)

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


english-words)

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

560 Subarray Sum Equals K (/problems/subarray- 43.2% Medium


sum-equals-k)

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


of-array-except-self)

297 Serialize and Deserialize Binary Tree 43.9% Hard


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

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


points-to-origin)

680 Valid Palindrome II (/problems/valid-palindrome-ii) 35.4% Easy

426 Convert Binary Search Tree to Sorted Doubly 55.7% Medium


Linked List (/problems/convert-binary-search-tree-
to-sorted-doubly-linked-list) 

253 Meeting Rooms II (/problems/meeting-rooms-ii) 44.2% Medium


621 Task Scheduler (/problems/task-scheduler) 47.0% Medium

https://leetcode.com/company/facebook/ 1/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

282 Expression Add Operators (/problems/expression- 34.2% Hard


add-operators)

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

124 Binary Tree Maximum Path Sum 31.7% Hard


(/problems/binary-tree-maximum-path-sum)

158 Read N Characters Given Read4 II - Call multiple 29.5% Hard


times (/problems/read-n-characters-given-read4-ii-
call-multiple-times) 

523 Continuous Subarray Sum (/problems/continuous- 24.4% Medium


subarray-sum)

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

173 Binary Search Tree Iterator (/problems/binary- 51.9% Medium


search-tree-iterator)

278 First Bad Version (/problems/first-bad-version) 32.1% Easy

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


window-substring)

211 Add and Search Word - Data structure design 32.9% Medium
(/problems/add-and-search-word-data-structure-
design)

23 Merge k Sorted Lists (/problems/merge-k-sorted- 37.1% Hard


lists)

438 Find All Anagrams in a String (/problems/find-all- 39.4% Medium


anagrams-in-a-string)

 98 Validate Binary Search Tree (/problems/validate- 26.7% Medium


binary-search-tree)

199 Binary Tree Right Side View (/problems/binary- 50.6% Medium


tree-right-side-view)

785 Is Graph Bipartite? (/problems/is-graph-bipartite) 45.4% Medium

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


intersections)

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

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

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


largest-element-in-an-array)

https://leetcode.com/company/facebook/ 2/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

340 Longest Substring with At Most K Distinct 41.8% Hard


Characters (/problems/longest-substring-with-at-
most-k-distinct-characters) 

721 Accounts Merge (/problems/accounts-merge) 44.2% Medium

 543 Diameter of Binary Tree (/problems/diameter-of- 47.9% Easy


binary-tree)

317 Shortest Distance from All Buildings 39.6% Hard


(/problems/shortest-distance-from-all-buildings)

689 Maximum Sum of 3 Non-Overlapping Subarrays 44.8% Hard


(/problems/maximum-sum-of-3-non-overlapping-
subarrays)

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

 349 Intersection of Two Arrays (/problems/intersection- 58.1% Easy


of-two-arrays)

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


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

65 Valid Number (/problems/valid-number) 14.6% Hard

304 Range Sum Query 2D - Immutable 35.2% Medium


(/problems/range-sum-query-2d-immutable)

896 Monotonic Array (/problems/monotonic-array) 56.4% Easy

314 Binary Tree Vertical Order Traversal 42.6% Medium


(/problems/binary-tree-vertical-order-traversal)

71 Simplify Path (/problems/simplify-path) 30.3% Medium

157 Read N Characters Given Read4 (/problems/read- 31.5% Easy


n-characters-given-read4) 

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

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


time-of-functions)

 88 Merge Sorted Array (/problems/merge-sorted- 37.5% Easy


array)

161 One Edit Distance (/problems/one-edit-distance) 32.1% Medium


https://leetcode.com/company/facebook/ 3/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

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

958 Check Completeness of a Binary Tree 50.5% Medium


(/problems/check-completeness-of-a-binary-tree)

143 Reorder List (/problems/reorder-list) 33.3% Medium

15 3Sum (/problems/3sum) 25.3% Medium

1249 Minimum Remove to Make Valid Parentheses 59.2% Medium


(/problems/minimum-remove-to-make-valid-
parentheses)

33 Search in Rotated Sorted Array 33.4% Medium


(/problems/search-in-rotated-sorted-array)

987 Vertical Order Traversal of a Binary Tree 33.6% Medium


(/problems/vertical-order-traversal-of-a-binary-
tree)

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

 139 Word Break (/problems/word-break) 37.4% Medium

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

270 Closest Binary Search Tree Value 45.4% Easy


(/problems/closest-binary-search-tree-value) 

311 Sparse Matrix Multiplication (/problems/sparse- 58.4% Medium


matrix-multiplication) 

708 Insert into a Sorted Circular Linked List 31.1% Medium


(/problems/insert-into-a-sorted-circular-linked-list)

 350 Intersection of Two Arrays II 49.7% Easy


(/problems/intersection-of-two-arrays-ii)

29 Divide Two Integers (/problems/divide-two- 16.2% Medium


integers)

114 Flatten Binary Tree to Linked List 45.2% Medium


(/problems/flatten-binary-tree-to-linked-list)

825 Friends Of Appropriate Ages (/problems/friends- 40.3% Medium


of-appropriate-ages)

824 Goat Latin (/problems/goat-latin) 59.8% Easy

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


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

https://leetcode.com/company/facebook/ 4/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

1027 Longest Arithmetic Sequence (/problems/longest- 52.5% Medium


arithmetic-sequence)

416 Partition Equal Subset Sum (/problems/partition- 41.9% Medium


equal-subset-sum)

489 Robot Room Cleaner (/problems/robot-room- 67.1% Hard


cleaner) 

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

863 All Nodes Distance K in Binary Tree 51.2% Medium


(/problems/all-nodes-distance-k-in-binary-tree)

42 Trapping Rain Water (/problems/trapping-rain- 45.8% Hard


water)

567 Permutation in String (/problems/permutation-in- 39.6% Medium


string)

1004 Max Consecutive Ones III (/problems/max- 55.5% Medium


consecutive-ones-iii)

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


pick-with-weight)

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


10 Regular Expression Matching (/problems/regular- 25.9% Hard


expression-matching)

 50 Pow(x, n) (/problems/powx-n) 28.8% Medium

32 Longest Valid Parentheses (/problems/longest- 26.8% Hard


valid-parentheses)

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

885 Spiral Matrix III (/problems/spiral-matrix-iii) 66.8% Medium

286 Walls and Gates (/problems/walls-and-gates)  51.4% Medium

463 Island Perimeter (/problems/island-perimeter) 62.2% Easy

921 Minimum Add to Make Parentheses Valid 71.1% Medium


(/problems/minimum-add-to-make-parentheses-
valid)

247 Strobogrammatic Number II 45.9% Medium


(/problems/strobogrammatic-number-ii) 

https://leetcode.com/company/facebook/ 5/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

 246 Strobogrammatic Number 43.6% Easy


(/problems/strobogrammatic-number) 

257 Binary Tree Paths (/problems/binary-tree-paths) 48.1% Easy

468 Validate IP Address (/problems/validate-ip- 21.9% Medium


address)

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

477 Total Hamming Distance (/problems/total- 50.0% Medium


hamming-distance)

536 Construct Binary Tree from String 46.7% Medium


(/problems/construct-binary-tree-from-string) 

935 Knight Dialer (/problems/knight-dialer) 42.8% Medium

347 Top K Frequent Elements (/problems/top-k- 57.7% Medium


frequent-elements)

632 Smallest Range Covering Elements from K Lists 50.0% Hard


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

670 Maximum Swap (/problems/maximum-swap) 41.3% Medium

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

319 Bulb Switcher (/problems/bulb-switcher) 44.7% Medium

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

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

494 Target Sum (/problems/target-sum) 46.0% Medium

691 Stickers to Spell Word (/problems/stickers-to- 40.5% Hard


spell-word)

398 Random Pick Index (/problems/random-pick- 52.2% Medium


index)

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

91 Decode Ways (/problems/decode-ways) 23.3% Medium

 674 Longest Continuous Increasing Subsequence 45.1% Easy


(/problems/longest-continuous-increasing-
subsequence)

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


substrings)

https://leetcode.com/company/facebook/ 6/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

480 Sliding Window Median (/problems/sliding- 34.6% Hard


window-median)

405 Convert a Number to Hexadecimal 42.8% Easy


(/problems/convert-a-number-to-hexadecimal)

277 Find the Celebrity (/problems/find-the-celebrity) 39.1% Medium


622 Design Circular Queue (/problems/design-circular- 41.5% Medium


queue)

 78 Subsets (/problems/subsets) 56.5% Medium

380 Insert Delete GetRandom O(1) (/problems/insert- 44.5% Medium


delete-getrandom-o1)

138 Copy List with Random Pointer (/problems/copy- 30.7% Medium


list-with-random-pointer)

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

498 Diagonal Traverse (/problems/diagonal-traverse) 46.4% Medium

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

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

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

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


329 Longest Increasing Path in a Matrix 41.5% Hard


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

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

 22 Generate Parentheses (/problems/generate- 58.3% Medium


parentheses)

128 Longest Consecutive Sequence 43.3% Hard


(/problems/longest-consecutive-sequence)

432 All O`one Data Structure (/problems/all-oone- 31.0% Hard


data-structure)

109 Convert Sorted List to Binary Search Tree 43.7% Medium


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

https://leetcode.com/company/facebook/ 7/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

564 Find the Closest Palindrome (/problems/find-the- 19.2% Hard


closest-palindrome)

224 Basic Calculator (/problems/basic-calculator) 34.8% Hard

3 Longest Substring Without Repeating Characters 29.2% Medium


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

843 Guess the Word (/problems/guess-the-word) 45.3% Hard

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


a-sorted-array)

678 Valid Parenthesis String (/problems/valid- 33.5% Medium


parenthesis-string)

325 Maximum Size Subarray Sum Equals k 45.8% Medium


(/problems/maximum-size-subarray-sum-equals-
k) 

1060 Missing Element in Sorted Array 53.0% Medium


(/problems/missing-element-in-sorted-array) 

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


atoi)

339 Nested List Weight Sum (/problems/nested-list- 70.7% Easy


weight-sum) 

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

1197 Minimum Knight Moves (/problems/minimum- 31.0% Medium


knight-moves) 

449 Serialize and Deserialize BST 49.6% Medium


(/problems/serialize-and-deserialize-bst)

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

336 Palindrome Pairs (/problems/palindrome-pairs) 32.3% Hard

1216 Valid Palindrome III (/problems/valid-palindrome- 42.8% Hard


iii) 

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

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

865 Smallest Subtree with all the Deepest Nodes 58.6% Medium
(/problems/smallest-subtree-with-all-the-deepest-
nodes)

https://leetcode.com/company/facebook/ 8/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

 207 Course Schedule (/problems/course-schedule) 40.1% Medium

381 Insert Delete GetRandom O(1) - Duplicates 33.0% Hard


allowed (/problems/insert-delete-getrandom-o1-
duplicates-allowed)

239 Sliding Window Maximum (/problems/sliding- 40.1% Hard


window-maximum)

105 Construct Binary Tree from Preorder and Inorder 44.4% Medium
Traversal (/problems/construct-binary-tree-from-
preorder-and-inorder-traversal)

111 Minimum Depth of Binary Tree 36.2% Easy


(/problems/minimum-depth-of-binary-tree)

540 Single Element in a Sorted Array 57.6% Medium


(/problems/single-element-in-a-sorted-array)

1094 Car Pooling (/problems/car-pooling) 56.8% Medium

358 Rearrange String k Distance Apart 34.0% Hard


(/problems/rearrange-string-k-distance-apart) 

963 Minimum Area Rectangle II (/problems/minimum- 48.1% Medium


area-rectangle-ii)

341 Flatten Nested List Iterator (/problems/flatten- 50.4% Medium


nested-list-iterator)

163 Missing Ranges (/problems/missing-ranges)  23.6% Medium

419 Battleships in a Board (/problems/battleships-in-a- 67.2% Medium


board)

1008 Construct Binary Search Tree from Preorder 74.3% Medium


Traversal (/problems/construct-binary-search-tree-
from-preorder-traversal)

938 Range Sum of BST (/problems/range-sum-of-bst) 78.6% Easy

5 Longest Palindromic Substring 28.4% Medium


(/problems/longest-palindromic-substring)

791 Custom Sort String (/problems/custom-sort-string) 63.9% Medium

1123 Lowest Common Ancestor of Deepest Leaves 65.4% Medium


(/problems/lowest-common-ancestor-of-deepest-
leaves)

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


permutation) 

https://leetcode.com/company/facebook/ 9/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

637 Average of Levels in Binary Tree 60.4% Easy


(/problems/average-of-levels-in-binary-tree)

428 Serialize and Deserialize N-ary Tree 56.4% Hard


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

408 Valid Word Abbreviation (/problems/valid-word- 30.0% Easy


abbreviation) 

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


unique-character-in-a-string)

568 Maximum Vacation Days (/problems/maximum- 39.0% Hard


vacation-days) 

614 Second Degree Follower (/problems/second- 25.3% Medium


degree-follower) 

529 Minesweeper (/problems/minesweeper) 55.7% Medium

17 Letter Combinations of a Phone Number 43.9% Medium


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

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

1053 Previous Permutation With One Swap 47.1% Medium


(/problems/previous-permutation-with-one-swap)

166 Fraction to Recurring Decimal (/problems/fraction- 20.4% Medium


to-recurring-decimal)

 53 Maximum Subarray (/problems/maximum- 45.1% Easy


subarray)

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

151 Reverse Words in a String (/problems/reverse- 18.6% Medium


words-in-a-string)

249 Group Shifted Strings (/problems/group-shifted- 50.6% Medium


strings) 

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


words)

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


median-from-data-stream)

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

 766 Toeplitz Matrix (/problems/toeplitz-matrix) 62.9% Easy

https://leetcode.com/company/facebook/ 10/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

81 Search in Rotated Sorted Array II 32.8% Medium


(/problems/search-in-rotated-sorted-array-ii)

334 Increasing Triplet Subsequence 39.7% Medium


(/problems/increasing-triplet-subsequence)

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

694 Number of Distinct Islands (/problems/number-of- 53.2% Medium


distinct-islands) 

794 Valid Tic-Tac-Toe State (/problems/valid-tic-tac- 31.7% Medium


toe-state)

378 Kth Smallest Element in a Sorted Matrix 51.4% Medium


(/problems/kth-smallest-element-in-a-sorted-
matrix)

848 Shifting Letters (/problems/shifting-letters) 42.8% Medium

452 Minimum Number of Arrows to Burst Balloons 47.6% Medium


(/problems/minimum-number-of-arrows-to-burst-
balloons)

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


sorted-lists)

 252 Meeting Rooms (/problems/meeting-rooms)  53.4% Easy

153 Find Minimum in Rotated Sorted Array 43.9% Medium


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

44 Wildcard Matching (/problems/wildcard-matching) 23.7% Hard

969 Pancake Sorting (/problems/pancake-sorting) 63.5% Medium

308 Range Sum Query 2D - Mutable 33.6% Hard


(/problems/range-sum-query-2d-mutable) 

102 Binary Tree Level Order Traversal 51.1% Medium


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

285 Inorder Successor in BST (/problems/inorder- 37.2% Medium


successor-in-bst) 

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

298 Binary Tree Longest Consecutive Sequence 45.4% Medium


(/problems/binary-tree-longest-consecutive-
sequence) 

742 Closest Leaf in a Binary Tree (/problems/closest- 41.4% Medium


leaf-in-a-binary-tree) 

https://leetcode.com/company/facebook/ 11/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

92 Reverse Linked List II (/problems/reverse-linked- 36.6% Medium


list-ii)

214 Shortest Palindrome (/problems/shortest- 28.5% Hard


palindrome)

549 Binary Tree Longest Consecutive Sequence II 45.7% Medium


(/problems/binary-tree-longest-consecutive-
sequence-ii) 

393 UTF-8 Validation (/problems/utf-8-validation) 36.6% Medium

312 Burst Balloons (/problems/burst-balloons) 49.2% Hard

24 Swap Nodes in Pairs (/problems/swap-nodes-in- 47.3% Medium


pairs)

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


nodes-in-k-group)

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

208 Implement Trie (Prefix Tree) 42.2% Medium


(/problems/implement-trie-prefix-tree)

496 Next Greater Element I (/problems/next-greater- 61.3% Easy


element-i)

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


atlantic-water-flow)

218 The Skyline Problem (/problems/the-skyline- 32.9% Hard


problem)

209 Minimum Size Subarray Sum 36.1% Medium


(/problems/minimum-size-subarray-sum)

353 Design Snake Game (/problems/design-snake- 32.2% Medium


game) 

129 Sum Root to Leaf Numbers (/problems/sum-root- 44.6% Medium


to-leaf-numbers)

593 Valid Square (/problems/valid-square) 41.3% Medium

939 Minimum Area Rectangle (/problems/minimum- 51.7% Medium


area-rectangle)

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

228 Summary Ranges (/problems/summary-ranges) 37.4% Medium

https://leetcode.com/company/facebook/ 12/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

116 Populating Next Right Pointers in Each Node 40.5% Medium


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

 26 Remove Duplicates from Sorted Array 42.6% Easy


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

752 Open the Lock (/problems/open-the-lock) 48.2% Medium

 332 Reconstruct Itinerary (/problems/reconstruct- 33.4% Medium


itinerary)

240 Search a 2D Matrix II (/problems/search-a-2d- 42.0% Medium


matrix-ii)

 399 Evaluate Division (/problems/evaluate-division) 49.3% Medium

597 Friend Requests I: Overall Acceptance Rate 40.5% Easy


(/problems/friend-requests-i-overall-acceptance-
rate) 

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


of-two-sorted-arrays)

642 Design Search Autocomplete System 41.4% Hard


(/problems/design-search-autocomplete-system)

714 Best Time to Buy and Sell Stock with Transaction 52.4% Medium
Fee (/problems/best-time-to-buy-and-sell-stock-
with-transaction-fee)

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


largest-element-in-a-stream)

 414 Third Maximum Number (/problems/third- 29.7% Easy


maximum-number)

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


smallest-element-in-a-bst)

1032 Stream of Characters (/problems/stream-of- 45.6% Hard


characters)

505 The Maze II (/problems/the-maze-ii)  45.8% Medium

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

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

241 Different Ways to Add Parentheses 52.5% Medium


(/problems/different-ways-to-add-parentheses)

https://leetcode.com/company/facebook/ 13/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

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

862 Shortest Subarray with Sum at Least K 22.9% Hard


(/problems/shortest-subarray-with-sum-at-least-k)

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

516 Longest Palindromic Subsequence 49.5% Medium


(/problems/longest-palindromic-subsequence)

112 Path Sum (/problems/path-sum) 39.3% Easy

435 Non-overlapping Intervals (/problems/non- 41.9% Medium


overlapping-intervals)

364 Nested List Weight Sum II (/problems/nested-list- 60.2% Medium


weight-sum-ii) 

324 Wiggle Sort II (/problems/wiggle-sort-ii) 28.9% Medium

 724 Find Pivot Index (/problems/find-pivot-index) 42.3% Easy

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

 189 Rotate Array (/problems/rotate-array) 32.2% Easy

 443 String Compression (/problems/string- 39.1% Easy


compression)

772 Basic Calculator III (/problems/basic-calculator-iii) 41.0% Hard


515 Find Largest Value in Each Tree Row 58.9% Medium


(/problems/find-largest-value-in-each-tree-row)

 788 Rotated Digits (/problems/rotated-digits) 55.8% Easy

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

235 Lowest Common Ancestor of a Binary Search 47.2% Easy


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

57 Insert Interval (/problems/insert-interval) 32.2% Hard

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


based-key-value-store)

148 Sort List (/problems/sort-list) 38.3% Medium

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


absolute-file-path)

https://leetcode.com/company/facebook/ 14/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

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


with-most-water)

430 Flatten a Multilevel Doubly Linked List 46.3% Medium


(/problems/flatten-a-multilevel-doubly-linked-list)

300 Longest Increasing Subsequence 41.7% Medium


(/problems/longest-increasing-subsequence)

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


addresses)

872 Leaf-Similar Trees (/problems/leaf-similar-trees) 64.3% Easy

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

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

1091 Shortest Path in Binary Matrix 36.6% Medium


(/problems/shortest-path-in-binary-matrix)

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


tree-inorder-traversal)

113 Path Sum II (/problems/path-sum-ii) 43.2% Medium

68 Text Justification (/problems/text-justification) 25.0% Hard

188 Best Time to Buy and Sell Stock IV 27.1% Hard


(/problems/best-time-to-buy-and-sell-stock-iv)

450 Delete Node in a BST (/problems/delete-node-in- 41.1% Medium


a-bst)

145 Binary Tree Postorder Traversal 51.3% Hard


(/problems/binary-tree-postorder-traversal)

103 Binary Tree Zigzag Level Order Traversal 44.2% Medium


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

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

159 Longest Substring with At Most Two Distinct 48.3% Medium


Characters (/problems/longest-substring-with-at-
most-two-distinct-characters) 

137 Single Number II (/problems/single-number-ii) 47.8% Medium

 122 Best Time to Buy and Sell Stock II 53.7% Easy


(/problems/best-time-to-buy-and-sell-stock-ii)

https://leetcode.com/company/facebook/ 15/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

628 Maximum Product of Three Numbers 46.8% Easy


(/problems/maximum-product-of-three-numbers)

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


positive)

 104 Maximum Depth of Binary Tree 63.0% Easy


(/problems/maximum-depth-of-binary-tree)

 66 Plus One (/problems/plus-one) 41.8% Easy

 1108 Defanging an IP Address (/problems/defanging- 85.0% Easy


an-ip-address)

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


duplicates-in-an-array)

303 Range Sum Query - Immutable (/problems/range- 40.8% Easy


sum-query-immutable)

110 Balanced Binary Tree (/problems/balanced- 42.1% Easy


binary-tree)

1021 Remove Outermost Parentheses 75.9% Easy


(/problems/remove-outermost-parentheses)

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

503 Next Greater Element II (/problems/next-greater- 53.0% Medium


element-ii)

 160 Intersection of Two Linked Lists 36.7% Easy


(/problems/intersection-of-two-linked-lists)

181 Employees Earning More Than Their Managers 52.0% Easy


(/problems/employees-earning-more-than-their-
managers)

59 Spiral Matrix II (/problems/spiral-matrix-ii) 50.1% Medium

 844 Backspace String Compare 46.8% Easy


(/problems/backspace-string-compare)

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

 117 Populating Next Right Pointers in Each Node II 36.3% Medium


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

701 Insert into a Binary Search Tree (/problems/insert- 77.9% Medium


into-a-binary-search-tree)

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

https://leetcode.com/company/facebook/ 16/18
02/12/2019 Facebook - LeetCode

  # Title Acceptance Difficulty Frequency 

445 Add Two Numbers II (/problems/add-two- 52.0% Medium


numbers-ii)

 572 Subtree of Another Tree (/problems/subtree-of- 43.1% Easy


another-tree)

40 Combination Sum II (/problems/combination-sum- 44.5% Medium


ii)

437 Path Sum III (/problems/path-sum-iii) 44.3% Easy

739 Daily Temperatures (/problems/daily- 61.3% Medium


temperatures)

9 Palindrome Number (/problems/palindrome- 45.8% Easy


number)

328 Odd Even Linked List (/problems/odd-even-linked- 51.2% Medium


list)

 222 Count Complete Tree Nodes (/problems/count- 39.0% Medium


complete-tree-nodes)

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

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

63 Unique Paths II (/problems/unique-paths-ii) 33.8% Medium

74 Search a 2D Matrix (/problems/search-a-2d- 35.6% Medium


matrix)

19 Remove Nth Node From End of List 34.6% Medium


(/problems/remove-nth-node-from-end-of-list)

38 Count and Say (/problems/count-and-say) 42.3% Easy

14 Longest Common Prefix (/problems/longest- 34.4% Easy


common-prefix)

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

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

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

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

 69 Sqrt(x) (/problems/sqrtx) 32.5% Easy

 100 Same Tree (/problems/same-tree) 51.3% Easy

 771 Jewels and Stones (/problems/jewels-and-stones) 84.1% Easy

https://leetcode.com/company/facebook/ 17/18
02/12/2019 Facebook - LeetCode

Copyright © 2019 LeetCode


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

https://leetcode.com/company/facebook/ 18/18

You might also like