0% found this document useful (0 votes)
155 views

Meta - LeetCode

Uploaded by

h.singh.ultra
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)
155 views

Meta - LeetCode

Uploaded by

h.singh.ultra
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/ 84

9/24/24, 12:25 AM Meta - LeetCode

Meta - LeetCode
leetcode.com/company/facebook

Meta
861 questions

2,180 Saved

Updated: a day ago


Progress

More than 6 months

205/635

https://leetcode.com/company/facebook/ 1/84
9/24/24, 12:25 AM Meta - LeetCode

Solved
28.94%

Acceptance

Beats

62.53%

Beats

54.12%

Beats

42.27%

39 Attempting

2K submission

7 Attempting

20 Attempting

12 Attempting
Easy

75/191

Med.

110/353

Hard

20/91

Discuss

314. Binary Tree Vertical Order Traversal

Med.

https://leetcode.com/company/facebook/ 2/84
9/24/24, 12:25 AM Meta - LeetCode

1249. Minimum Remove to Make Valid Parentheses

Med.

215. Kth Largest Element in an Array

Med.

680. Valid Palindrome II

Easy

408. Valid Word Abbreviation

Easy

50. Pow(x, n)

Med.

1650. Lowest Common Ancestor of a Binary Tree III

Med.

227. Basic Calculator II

Med.

1570. Dot Product of Two Sparse Vectors

https://leetcode.com/company/facebook/ 3/84
9/24/24, 12:25 AM Meta - LeetCode

Med.

528. Random Pick with Weight

Med.

56. Merge Intervals

Med.

1762. Buildings With an Ocean View

Med.

236. Lowest Common Ancestor of a Binary Tree

Med.

339. Nested List Weight Sum

Med.

71. Simplify Path

Med.

560. Subarray Sum Equals K

Med.

https://leetcode.com/company/facebook/ 4/84
9/24/24, 12:25 AM Meta - LeetCode

88. Merge Sorted Array

Easy

15. 3Sum

Med.

1. Two Sum

Easy

162. Find Peak Element

Med.

125. Valid Palindrome

Easy

199. Binary Tree Right Side View

Med.

938. Range Sum of BST

Easy

34. Find First and Last Position of Element in Sorted Array

Med.

https://leetcode.com/company/facebook/ 5/84
9/24/24, 12:25 AM Meta - LeetCode

973. K Closest Points to Origin

Med.

146. LRU Cache

Med.

283. Move Zeroes

Easy

543. Diameter of Binary Tree

Easy

31. Next Permutation

Med.

347. Top K Frequent Elements

Med.

200. Number of Islands

Med.

20. Valid Parentheses

https://leetcode.com/company/facebook/ 6/84
9/24/24, 12:25 AM Meta - LeetCode

Easy

921. Minimum Add to Make Parentheses Valid

Med.

23. Merge k Sorted Lists

Hard

129. Sum Root to Leaf Numbers

Med.

791. Custom Sort String

Med.

426. Convert Binary Search Tree to Sorted Doubly Linked List

Med.

1091. Shortest Path in Binary Matrix

Med.

138. Copy List with Random Pointer

Med.

https://leetcode.com/company/facebook/ 7/84
9/24/24, 12:25 AM Meta - LeetCode

346. Moving Average from Data Stream

Easy

65. Valid Number

Hard

133. Clone Graph

Med.

13. Roman to Integer

Easy

17. Letter Combinations of a Phone Number

Med.

987. Vertical Order Traversal of a Binary Tree

Hard

42. Trapping Rain Water

Hard

1004. Max Consecutive Ones III

Med.

https://leetcode.com/company/facebook/ 8/84
9/24/24, 12:25 AM Meta - LeetCode

986. Interval List Intersections

Med.

3. Longest Substring Without Repeating Characters

Med.

207. Course Schedule

Med.

691. Stickers to Spell Word

Hard

670. Maximum Swap

Med.

14. Longest Common Prefix

Easy

78. Subsets

Med.

121. Best Time to Buy and Sell Stock

https://leetcode.com/company/facebook/ 9/84
9/24/24, 12:25 AM Meta - LeetCode

Easy

415. Add Strings

Easy

708. Insert into a Sorted Circular Linked List

Med.

8. String to Integer (atoi)

Med.

249. Group Shifted Strings

Med.

76. Minimum Window Substring

Hard

827. Making A Large Island

Hard

2. Add Two Numbers

Med.

https://leetcode.com/company/facebook/ 10/84
9/24/24, 12:25 AM Meta - LeetCode

19. Remove Nth Node From End of List

Med.

721. Accounts Merge

Med.

766. Toeplitz Matrix

Easy

270. Closest Binary Search Tree Value

Easy

2667. Create Hello World Function

Easy

4. Median of Two Sorted Arrays

Hard

5. Longest Palindromic Substring

Med.

498. Diagonal Traverse

Med.

https://leetcode.com/company/facebook/ 11/84
9/24/24, 12:25 AM Meta - LeetCode

139. Word Break

Med.

253. Meeting Rooms II

Med.

301. Remove Invalid Parentheses

Hard

398. Random Pick Index

Med.

523. Continuous Subarray Sum

Med.

11. Container With Most Water

Med.

26. Remove Duplicates from Sorted Array

Easy

33. Search in Rotated Sorted Array

Med.

https://leetcode.com/company/facebook/ 12/84
9/24/24, 12:25 AM Meta - LeetCode

38. Count and Say

Med.

21. Merge Two Sorted Lists

Easy

114. Flatten Binary Tree to Linked List

Med.

636. Exclusive Time of Functions

Med.

1539. Kth Missing Positive Number

Easy

140. Word Break II

Hard

173. Binary Search Tree Iterator

Med.

9. Palindrome Number

https://leetcode.com/company/facebook/ 13/84
9/24/24, 12:25 AM Meta - LeetCode

Easy

49. Group Anagrams

Med.

238. Product of Array Except Self

Med.

863. All Nodes Distance K in Binary Tree

Med.

163. Missing Ranges

Easy

525. Contiguous Array

Med.

219. Contains Duplicate II

Easy

54. Spiral Matrix

Med.

https://leetcode.com/company/facebook/ 14/84
9/24/24, 12:25 AM Meta - LeetCode

73. Set Matrix Zeroes

Med.

79. Word Search

Med.

53. Maximum Subarray

Med.

380. Insert Delete GetRandom O(1)

Med.

658. Find K Closest Elements

Med.

953. Verifying an Alien Dictionary

Easy

1011. Capacity To Ship Packages Within D Days

Med.

1047. Remove All Adjacent Duplicates In String

Easy

https://leetcode.com/company/facebook/ 15/84
9/24/24, 12:25 AM Meta - LeetCode

67. Add Binary

Easy

169. Majority Element

Easy

224. Basic Calculator

Hard

647. Palindromic Substrings

Med.

1757. Recyclable and Low Fat Products

Easy

74. Search a 2D Matrix

Med.

124. Binary Tree Maximum Path Sum

Hard

234. Palindrome Linked List

https://leetcode.com/company/facebook/ 16/84
9/24/24, 12:25 AM Meta - LeetCode

Easy

273. Integer to English Words

Hard

739. Daily Temperatures

Med.

7. Reverse Integer

Med.

10. Regular Expression Matching

Hard

212. Word Search II

Hard

317. Shortest Distance from All Buildings

Hard

695. Max Area of Island

Med.

977. Squares of a Sorted Array

https://leetcode.com/company/facebook/ 17/84
9/24/24, 12:25 AM Meta - LeetCode

Easy

1216. Valid Palindrome III

Hard

70. Climbing Stairs

Easy

103. Binary Tree Zigzag Level Order Traversal

Med.

217. Contains Duplicate

Easy

875. Koko Eating Bananas

Med.

57. Insert Interval

Med.

128. Longest Consecutive Sequence

Med.

https://leetcode.com/company/facebook/ 18/84
9/24/24, 12:25 AM Meta - LeetCode

189. Rotate Array

Med.

269. Alien Dictionary

Hard

304. Range Sum Query 2D - Immutable

Med.

348. Design Tic-Tac-Toe

Med.

378. Kth Smallest Element in a Sorted Matrix

Med.

27. Remove Element

Easy

29. Divide Two Integers

Med.

43. Multiply Strings

Med.

https://leetcode.com/company/facebook/ 19/84
9/24/24, 12:25 AM Meta - LeetCode

63. Unique Paths II

Med.

68. Text Justification

Hard

424. Longest Repeating Character Replacement

Med.

1768. Merge Strings Alternately

Easy

36. Valid Sudoku

Med.

39. Combination Sum

Med.

84. Largest Rectangle in Histogram

Hard

111. Minimum Depth of Binary Tree

https://leetcode.com/company/facebook/ 20/84
9/24/24, 12:25 AM Meta - LeetCode

Easy

116. Populating Next Right Pointers in Each Node

Med.

287. Find the Duplicate Number

Med.

295. Find Median from Data Stream

Hard

435. Non-overlapping Intervals

Med.

494. Target Sum

Med.

540. Single Element in a Sorted Array

Med.

724. Find Pivot Index

Easy

1209. Remove All Adjacent Duplicates in String II

https://leetcode.com/company/facebook/ 21/84
9/24/24, 12:25 AM Meta - LeetCode

Med.

118. Pascal's Triangle

Easy

198. House Robber

Med.

206. Reverse Linked List

Easy

235. Lowest Common Ancestor of a Binary Search Tree

Med.

383. Ransom Note

Easy

735. Asteroid Collision

Med.

1868. Product of Two Run-Length Encoded Arrays

Med.

https://leetcode.com/company/facebook/ 22/84
9/24/24, 12:25 AM Meta - LeetCode

22. Generate Parentheses

Med.

41. First Missing Positive

Hard

45. Jump Game II

Med.

55. Jump Game

Med.

127. Word Ladder

Hard

135. Candy

Hard

151. Reverse Words in a String

Med.

153. Find Minimum in Rotated Sorted Array

Med.

https://leetcode.com/company/facebook/ 23/84
9/24/24, 12:25 AM Meta - LeetCode

239. Sliding Window Maximum

Hard

278. First Bad Version

Easy

282. Expression Add Operators

Hard

416. Partition Equal Subset Sum

Med.

529. Minesweeper

Med.

605. Can Place Flowers

Easy

904. Fruit Into Baskets

Med.

1382. Balance a Binary Search Tree

Med.

https://leetcode.com/company/facebook/ 24/84
9/24/24, 12:25 AM Meta - LeetCode

1424. Diagonal Traverse II

Med.

72. Edit Distance

Med.

102. Binary Tree Level Order Traversal

Med.

122. Best Time to Buy and Sell Stock II

Med.

297. Serialize and Deserialize Binary Tree

Hard

329. Longest Increasing Path in a Matrix

Hard

480. Sliding Window Median

Hard

689. Maximum Sum of 3 Non-Overlapping Subarrays

https://leetcode.com/company/facebook/ 25/84
9/24/24, 12:25 AM Meta - LeetCode

Hard

767. Reorganize String

Med.

489. Robot Room Cleaner

Hard

6. Zigzag Conversion

Med.

46. Permutations

Med.

66. Plus One

Easy

75. Sort Colors

Med.

332. Reconstruct Itinerary

Hard

https://leetcode.com/company/facebook/ 26/84
9/24/24, 12:25 AM Meta - LeetCode

825. Friends Of Appropriate Ages

Med.

958. Check Completeness of a Binary Tree

Med.

1060. Missing Element in Sorted Array

Med.

1161. Maximum Level Sum of a Binary Tree

Med.

1644. Lowest Common Ancestor of a Binary Tree II

Med.

2060. Check if an Original String Exists Given Two Encoded Strings

Hard

16. 3Sum Closest

Med.

18. 4Sum

Med.

https://leetcode.com/company/facebook/ 27/84
9/24/24, 12:25 AM Meta - LeetCode

28. Find the Index of the First Occurrence in a String

Easy

48. Rotate Image

Med.

69. Sqrt(x)

Easy

94. Binary Tree Inorder Traversal

Easy

98. Validate Binary Search Tree

Med.

101. Symmetric Tree

Easy

152. Maximum Product Subarray

Med.

160. Intersection of Two Linked Lists

Easy

https://leetcode.com/company/facebook/ 28/84
9/24/24, 12:25 AM Meta - LeetCode

167. Two Sum II - Input Array Is Sorted

Med.

341. Flatten Nested List Iterator

Med.

367. Valid Perfect Square

Easy

443. String Compression

Med.

584. Find Customer Referee

Easy

595. Big Countries

Easy

704. Binary Search

Easy

852. Peak Index in a Mountain Array

https://leetcode.com/company/facebook/ 29/84
9/24/24, 12:25 AM Meta - LeetCode

Med.

905. Sort Array By Parity

Easy

1541. Minimum Insertions to Balance a Parentheses String

Med.

40. Combination Sum II

Med.

51. N-Queens

Hard

80. Remove Duplicates from Sorted Array II

Med.

104. Maximum Depth of Binary Tree

Easy

110. Balanced Binary Tree

Easy

https://leetcode.com/company/facebook/ 30/84
9/24/24, 12:25 AM Meta - LeetCode

143. Reorder List

Med.

202. Happy Number

Easy

240. Search a 2D Matrix II

Med.

242. Valid Anagram

Easy

266. Palindrome Permutation

Easy

300. Longest Increasing Subsequence

Med.

303. Range Sum Query - Immutable

Easy

392. Is Subsequence

Easy

https://leetcode.com/company/facebook/ 31/84
9/24/24, 12:25 AM Meta - LeetCode

394. Decode String

Med.

419. Battleships in a Board

Med.

468. Validate IP Address

Med.

496. Next Greater Element I

Easy

515. Find Largest Value in Each Tree Row

Med.

556. Next Greater Element III

Med.

567. Permutation in String

Med.

713. Subarray Product Less Than K

Med.

https://leetcode.com/company/facebook/ 32/84
9/24/24, 12:25 AM Meta - LeetCode

733. Flood Fill

Easy

876. Middle of the Linked List

Easy

896. Monotonic Array

Easy

1141. User Activity for the Past 30 Days I

Easy

1331. Rank Transform of an Array

Easy

1266. Minimum Time Visiting All Points

Easy

1358. Number of Substrings Containing All Three Characters

Med.

1443. Minimum Time to Collect All Apples in a Tree

Med.

https://leetcode.com/company/facebook/ 33/84
9/24/24, 12:25 AM Meta - LeetCode

2620. Counter

Easy

25. Reverse Nodes in k-Group

Hard

90. Subsets II

Med.

92. Reverse Linked List II

Med.

112. Path Sum

Easy

113. Path Sum II

Med.

131. Palindrome Partitioning

Med.

155. Min Stack

Med.

https://leetcode.com/company/facebook/ 34/84
9/24/24, 12:25 AM Meta - LeetCode

208. Implement Trie (Prefix Tree)

Med.

209. Minimum Size Subarray Sum

Med.

211. Design Add and Search Words Data Structure

Med.

237. Delete Node in a Linked List

Med.

296. Best Meeting Point

Hard

310. Minimum Height Trees

Med.

325. Maximum Size Subarray Sum Equals k

Med.

345. Reverse Vowels of a String

https://leetcode.com/company/facebook/ 35/84
9/24/24, 12:25 AM Meta - LeetCode

Easy

349. Intersection of Two Arrays

Easy

450. Delete Node in a BST

Med.

490. The Maze

Med.

545. Boundary of Binary Tree

Med.

547. Number of Provinces

Med.

570. Managers with at Least 5 Direct Reports

Med.

662. Maximum Width of Binary Tree

Med.

865. Smallest Subtree with all the Deepest Nodes

https://leetcode.com/company/facebook/ 36/84
9/24/24, 12:25 AM Meta - LeetCode

Med.

934. Shortest Bridge

Med.

974. Subarray Sums Divisible by K

Med.

1944. Number of Visible People in a Queue

Hard

1498. Number of Subsequences That Satisfy the Given Sum Condition

Med.

2265. Count Nodes Equal to Average of Subtree

Med.

2365. Task Scheduler II

Med.

2461. Maximum Sum of Distinct Subarrays With Length K

Med.

32. Longest Valid Parentheses

https://leetcode.com/company/facebook/ 37/84
9/24/24, 12:25 AM Meta - LeetCode

Hard

35. Search Insert Position

Easy

47. Permutations II

Med.

62. Unique Paths

Med.

77. Combinations

Med.

180. Consecutive Numbers

Med.

205. Isomorphic Strings

Easy

210. Course Schedule II

Med.

https://leetcode.com/company/facebook/ 38/84
9/24/24, 12:25 AM Meta - LeetCode

247. Strobogrammatic Number II

Med.

268. Missing Number

Easy

286. Walls and Gates

Med.

311. Sparse Matrix Multiplication

Med.

334. Increasing Triplet Subsequence

Med.

350. Intersection of Two Arrays II

Easy

404. Sum of Left Leaves

Easy

448. Find All Numbers Disappeared in an Array

Easy

https://leetcode.com/company/facebook/ 39/84
9/24/24, 12:25 AM Meta - LeetCode

503. Next Greater Element II

Med.

1721. Swapping Nodes in a Linked List

Med.

536. Construct Binary Tree from String

Med.

572. Subtree of Another Tree

Easy

674. Longest Continuous Increasing Subsequence

Easy

687. Longest Univalue Path

Med.

428. Serialize and Deserialize N-ary Tree

Hard

763. Partition Labels

Med.

https://leetcode.com/company/facebook/ 40/84
9/24/24, 12:25 AM Meta - LeetCode

824. Goat Latin

Easy

1032. Stream of Characters

Hard

1123. Lowest Common Ancestor of Deepest Leaves

Med.

1143. Longest Common Subsequence

Med.

1186. Maximum Subarray Sum with One Deletion

Med.

1251. Average Selling Price

Easy

1838. Frequency of the Most Frequent Element

Med.

1929. Concatenation of Array

Easy

https://leetcode.com/company/facebook/ 41/84
9/24/24, 12:25 AM Meta - LeetCode

2235. Add Two Integers

Easy

2694. Event Emitter

Med.

12. Integer to Roman

Med.

58. Length of Last Word

Easy

61. Rotate List

Med.

85. Maximal Rectangle

Hard

91. Decode Ways

Med.

100. Same Tree

https://leetcode.com/company/facebook/ 42/84
9/24/24, 12:25 AM Meta - LeetCode

Easy

108. Convert Sorted Array to Binary Search Tree

Easy

126. Word Ladder II

Hard

130. Surrounded Regions

Med.

141. Linked List Cycle

Easy

142. Linked List Cycle II

Med.

148. Sort List

Med.

171. Excel Sheet Column Number

Easy

https://leetcode.com/company/facebook/ 43/84
9/24/24, 12:25 AM Meta - LeetCode

179. Largest Number

Med.

203. Remove Linked List Elements

Easy

218. The Skyline Problem

Hard

223. Rectangle Area

Med.

226. Invert Binary Tree

Easy

229. Majority Element II

Med.

230. Kth Smallest Element in a BST

Med.

252. Meeting Rooms

Easy

https://leetcode.com/company/facebook/ 44/84
9/24/24, 12:25 AM Meta - LeetCode

267. Palindrome Permutation II

Med.

279. Perfect Squares

Med.

290. Word Pattern

Easy

322. Coin Change

Med.

328. Odd Even Linked List

Med.

399. Evaluate Division

Med.

406. Queue Reconstruction by Height

Med.

437. Path Sum III

https://leetcode.com/company/facebook/ 45/84
9/24/24, 12:25 AM Meta - LeetCode

Med.

463. Island Perimeter

Easy

530. Minimum Absolute Difference in BST

Easy

593. Valid Square

Med.

617. Merge Two Binary Trees

Easy

621. Task Scheduler

Med.

637. Average of Levels in Binary Tree

Easy

643. Maximum Average Subarray I

Easy

https://leetcode.com/company/facebook/ 46/84
9/24/24, 12:25 AM Meta - LeetCode

676. Implement Magic Dictionary

Med.

685. Redundant Connection II

Hard

688. Knight Probability in Chessboard

Med.

796. Rotate String

Easy

706. Design HashMap

Easy

1002. Find Common Characters

Easy

1008. Construct Binary Search Tree from Preorder Traversal

Med.

1043. Partition Array for Maximum Sum

Med.

https://leetcode.com/company/facebook/ 47/84
9/24/24, 12:25 AM Meta - LeetCode

1137. N-th Tribonacci Number

Easy

1315. Sum of Nodes with Even-Valued Grandparent

Med.

1148. Article Views I

Easy

2218. Maximum Value of K Coins From Piles

Hard

1344. Angle Between Hands of a Clock

Med.

1614. Maximum Nesting Depth of the Parentheses

Easy

1854. Maximum Population Year

Easy

1926. Nearest Exit from Entrance in Maze

Med.

https://leetcode.com/company/facebook/ 48/84
9/24/24, 12:25 AM Meta - LeetCode

1963. Minimum Number of Swaps to Make the String Balanced

Med.

2149. Rearrange Array Elements by Sign

Med.

2236. Root Equals Sum of Children

Easy

2468. Split Message Based on Limit

Hard

30. Substring with Concatenation of All Words

Hard

37. Sudoku Solver

Hard

64. Minimum Path Sum

Med.

81. Search in Rotated Sorted Array II

Med.

https://leetcode.com/company/facebook/ 49/84
9/24/24, 12:25 AM Meta - LeetCode

105. Construct Binary Tree from Preorder and Inorder Traversal

Med.

134. Gas Station

Med.

136. Single Number

Easy

150. Evaluate Reverse Polish Notation

Med.

174. Dungeon Game

Hard

175. Combine Two Tables

Easy

188. Best Time to Buy and Sell Stock IV

Hard

190. Reverse Bits

https://leetcode.com/company/facebook/ 50/84
9/24/24, 12:25 AM Meta - LeetCode

Easy

204. Count Primes

Med.

246. Strobogrammatic Number

Easy

260. Single Number III

Med.

264. Ugly Number II

Med.

271. Encode and Decode Strings

Med.

274. H-Index

Med.

289. Game of Life

Med.

333. Largest BST Subtree

https://leetcode.com/company/facebook/ 51/84
9/24/24, 12:25 AM Meta - LeetCode

Med.

338. Counting Bits

Easy

343. Integer Break

Med.

384. Shuffle an Array

Med.

402. Remove K Digits

Med.

409. Longest Palindrome

Easy

410. Split Array Largest Sum

Hard

412. Fizz Buzz

Easy

https://leetcode.com/company/facebook/ 52/84
9/24/24, 12:25 AM Meta - LeetCode

445. Add Two Numbers II

Med.

451. Sort Characters By Frequency

Med.

456. 132 Pattern

Med.

506. Relative Ranks

Easy

516. Longest Palindromic Subsequence

Med.

633. Sum of Square Numbers

Med.

694. Number of Distinct Islands

Med.

714. Best Time to Buy and Sell Stock with Transaction Fee

Med.

https://leetcode.com/company/facebook/ 53/84
9/24/24, 12:25 AM Meta - LeetCode

719. Find K-th Smallest Pair Distance

Hard

727. Minimum Window Subsequence

Hard

430. Flatten a Multilevel Doubly Linked List

Med.

771. Jewels and Stones

Easy

700. Search in a Binary Search Tree

Easy

772. Basic Calculator III

Hard

703. Kth Largest Element in a Stream

Easy

785. Is Graph Bipartite?

Med.

https://leetcode.com/company/facebook/ 54/84
9/24/24, 12:25 AM Meta - LeetCode

797. All Paths From Source to Target

Med.

622. Design Circular Queue

Med.

857. Minimum Cost to Hire K Workers

Hard

862. Shortest Subarray with Sum at Least K

Hard

894. All Possible Full Binary Trees

Med.

912. Sort an Array

Med.

918. Maximum Sum Circular Subarray

Med.

920. Number of Music Playlists

https://leetcode.com/company/facebook/ 55/84
9/24/24, 12:25 AM Meta - LeetCode

Hard

968. Binary Tree Cameras

Hard

509. Fibonacci Number

Easy

993. Cousins in Binary Tree

Easy

1020. Number of Enclaves

Med.

1021. Remove Outermost Parentheses

Easy

1197. Minimum Knight Moves

Med.

1245. Tree Diameter

Med.

1095. Find in Mountain Array

https://leetcode.com/company/facebook/ 56/84
9/24/24, 12:25 AM Meta - LeetCode

Hard

1110. Delete Nodes And Return Forest

Med.

1287. Element Appearing More Than 25% In Sorted Array

Easy

1206. Design Skiplist

Hard

1268. Search Suggestions System

Med.

1290. Convert Binary Number in a Linked List to Integer

Easy

1293. Shortest Path in a Grid with Obstacles Elimination

Hard

1305. All Elements in Two Binary Search Trees

Med.

https://leetcode.com/company/facebook/ 57/84
9/24/24, 12:25 AM Meta - LeetCode

1351. Count Negative Numbers in a Sorted Matrix

Easy

1352. Product of the Last K Numbers

Med.

1353. Maximum Number of Events That Can Be Attended

Med.

1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit

Med.

1492. The kth Factor of n

Med.

1493. Longest Subarray of 1's After Deleting One Element

Med.

1480. Running Sum of 1d Array

Easy

1481. Least Number of Unique Integers after K Removals

Med.

https://leetcode.com/company/facebook/ 58/84
9/24/24, 12:25 AM Meta - LeetCode

1512. Number of Good Pairs

Easy

1581. Customer Who Visited but Did Not Make Any Transactions

Easy

1669. Merge In Between Linked Lists

Med.

1672. Richest Customer Wealth

Easy

1679. Max Number of K-Sum Pairs

Med.

1661. Average Time of Process per Machine

Easy

1683. Invalid Tweets

Easy

1823. Find the Winner of the Circular Game

Med.

https://leetcode.com/company/facebook/ 59/84
9/24/24, 12:25 AM Meta - LeetCode

1891. Cutting Ribbons

Med.

1901. Find a Peak Element II

Med.

1934. Confirmation Rate

Med.

1984. Minimum Difference Between Highest and Lowest of K Scores

Easy

2101. Detonate the Maximum Bombs

Med.

2210. Count Hills and Valleys in an Array

Easy

2462. Total Cost to Hire K Workers

Med.

2487. Remove Nodes From Linked List

Med.

https://leetcode.com/company/facebook/ 60/84
9/24/24, 12:25 AM Meta - LeetCode

2502. Design Memory Allocator

Med.

2627. Debounce

Med.

2618. Check if Object Instance of Class

Med.

2704. To Be Or Not To Be

Easy

2751. Robot Collisions

Hard

2956. Find Common Elements Between Two Arrays

Easy

3005. Count Elements With Maximum Frequency

Easy

24. Swap Nodes in Pairs

Med.

https://leetcode.com/company/facebook/ 61/84
9/24/24, 12:25 AM Meta - LeetCode

59. Spiral Matrix II

Med.

93. Restore IP Addresses

Med.

95. Unique Binary Search Trees II

Med.

109. Convert Sorted List to Binary Search Tree

Med.

119. Pascal's Triangle II

Easy

132. Palindrome Partitioning II

Hard

137. Single Number II

Med.

149. Max Points on a Line

Hard

https://leetcode.com/company/facebook/ 62/84
9/24/24, 12:25 AM Meta - LeetCode

154. Find Minimum in Rotated Sorted Array II

Hard

157. Read N Characters Given Read4

Easy

165. Compare Version Numbers

Med.

168. Excel Sheet Column Title

Easy

172. Factorial Trailing Zeroes

Med.

176. Second Highest Salary

Med.

177. Nth Highest Salary

Med.

181. Employees Earning More Than Their Managers

Easy

https://leetcode.com/company/facebook/ 63/84
9/24/24, 12:25 AM Meta - LeetCode

182. Duplicate Emails

Easy

183. Customers Who Never Order

Easy

187. Repeated DNA Sequences

Med.

191. Number of 1 Bits

Easy

197. Rising Temperature

Easy

213. House Robber II

Med.

228. Summary Ranges

Easy

231. Power of Two

https://leetcode.com/company/facebook/ 64/84
9/24/24, 12:25 AM Meta - LeetCode

Easy

232. Implement Queue using Stacks

Easy

233. Number of Digit One

Hard

261. Graph Valid Tree

Med.

262. Trips and Users

Hard

299. Bulls and Cows

Med.

309. Best Time to Buy and Sell Stock with Cooldown

Med.

316. Remove Duplicate Letters

Med.

https://leetcode.com/company/facebook/ 65/84
9/24/24, 12:25 AM Meta - LeetCode

323. Number of Connected Components in an Undirected Graph

Med.

335. Self Crossing

Hard

342. Power of Four

Easy

344. Reverse String

Easy

368. Largest Divisible Subset

Med.

373. Find K Pairs with Smallest Sums

Med.

374. Guess Number Higher or Lower

Easy

381. Insert Delete GetRandom O(1) - Duplicates allowed

Hard

https://leetcode.com/company/facebook/ 66/84
9/24/24, 12:25 AM Meta - LeetCode

387. First Unique Character in a String

Easy

388. Longest Absolute File Path

Med.

389. Find the Difference

Easy

393. UTF-8 Validation

Med.

403. Frog Jump

Hard

417. Pacific Atlantic Water Flow

Med.

438. Find All Anagrams in a String

Med.

442. Find All Duplicates in an Array

Med.

https://leetcode.com/company/facebook/ 67/84
9/24/24, 12:25 AM Meta - LeetCode

452. Minimum Number of Arrows to Burst Balloons

Med.

455. Assign Cookies

Easy

460. LFU Cache

Hard

493. Reverse Pairs

Hard

502. IPO

Hard

518. Coin Change II

Med.

539. Minimum Time Difference

Med.

542. 01 Matrix

https://leetcode.com/company/facebook/ 68/84
9/24/24, 12:25 AM Meta - LeetCode

Med.

561. Array Partition

Easy

577. Employee Bonus

Easy

597. Friend Requests I: Overall Acceptance Rate

Easy

601. Human Traffic of Stadium

Hard

610. Triangle Judgement

Easy

616. Add Bold Tag in String

Med.

642. Design Search Autocomplete System

Hard

649. Dota2 Senate

https://leetcode.com/company/facebook/ 69/84
9/24/24, 12:25 AM Meta - LeetCode

Med.

678. Valid Parenthesis String

Med.

698. Partition to K Equal Sum Subsets

Med.

711. Number of Distinct Islands II

Hard

715. Range Module

Hard

723. Candy Crush

Med.

752. Open the Lock

Med.

778. Swim in Rising Water

Hard

779. K-th Symbol in Grammar

https://leetcode.com/company/facebook/ 70/84
9/24/24, 12:25 AM Meta - LeetCode

Med.

787. Cheapest Flights Within K Stops

Med.

815. Bus Routes

Hard

826. Most Profit Assigning Work

Med.

836. Rectangle Overlap

Easy

844. Backspace String Compare

Easy

867. Transpose Matrix

Easy

890. Find and Replace Pattern

Med.

897. Increasing Order Search Tree

https://leetcode.com/company/facebook/ 71/84
9/24/24, 12:25 AM Meta - LeetCode

Easy

919. Complete Binary Tree Inserter

Med.

930. Binary Subarrays With Sum

Med.

935. Knight Dialer

Med.

946. Validate Stack Sequences

Med.

950. Reveal Cards In Increasing Order

Med.

959. Regions Cut By Slashes

Med.

979. Distribute Coins in Binary Tree

Med.

983. Minimum Cost For Tickets

https://leetcode.com/company/facebook/ 72/84
9/24/24, 12:25 AM Meta - LeetCode

Med.

992. Subarrays with K Different Integers

Hard

996. Number of Squareful Arrays

Hard

1120. Maximum Average Subtree

Med.

1028. Recover a Tree From Preorder Traversal

Hard

1029. Two City Scheduling

Med.

1162. As Far from Land as Possible

Med.

1046. Last Stone Weight

Easy

1071. Greatest Common Divisor of Strings

https://leetcode.com/company/facebook/ 73/84
9/24/24, 12:25 AM Meta - LeetCode

Easy

511. Game Play Analysis I

Easy

1094. Car Pooling

Med.

1106. Parsing A Boolean Expression

Hard

1122. Relative Sort Array

Easy

1125. Smallest Sufficient Team

Hard

1299. Replace Elements with Greatest Element on Right Side

Easy

1313. Decompress Run-Length Encoded List

Easy

https://leetcode.com/company/facebook/ 74/84
9/24/24, 12:25 AM Meta - LeetCode

1155. Number of Dice Rolls With Target Sum

Med.

1171. Remove Zero Sum Consecutive Nodes from Linked List

Med.

1361. Validate Binary Tree Nodes

Med.

1207. Unique Number of Occurrences

Easy

1239. Maximum Length of a Concatenated String with Unique Characters

Med.

1429. First Unique Number

Med.

1275. Find Winner on a Tic Tac Toe Game

Easy

1318. Minimum Flips to Make a OR b Equal to c

Med.

https://leetcode.com/company/facebook/ 75/84
9/24/24, 12:25 AM Meta - LeetCode

1373. Maximum Sum BST in Binary Tree

Hard

1431. Kids With the Greatest Number of Candies

Easy

1446. Consecutive Characters

Easy

1448. Count Good Nodes in Binary Tree

Med.

1436. Destination City

Easy

1439. Find the Kth Smallest Sum of a Matrix With Sorted Rows

Hard

1460. Make Two Arrays Equal by Reversing Subarrays

Easy

1463. Cherry Pickup II

Hard

https://leetcode.com/company/facebook/ 76/84
9/24/24, 12:25 AM Meta - LeetCode

1454. Active Users

Med.

1491. Average Salary Excluding the Minimum and Maximum Salary

Easy

1482. Minimum Number of Days to Make m Bouquets

Med.

1525. Number of Good Ways to Split a String

Med.

1517. Find Users With Valid E-Mails

Easy

1522. Diameter of N-Ary Tree

Med.

1584. Min Cost to Connect All Points

Med.

1598. Crawler Log Folder

Easy

https://leetcode.com/company/facebook/ 77/84
9/24/24, 12:25 AM Meta - LeetCode

1608. Special Array With X Elements Greater Than or Equal X

Easy

1631. Path With Minimum Effort

Med.

1654. Minimum Jumps to Reach Home

Med.

1646. Get Maximum in Generated Array

Easy

1657. Determine if Two Strings Are Close

Med.

1662. Check If Two String Arrays are Equivalent

Easy

1701. Average Waiting Time

Med.

1740. Find Distance in a Binary Tree

Med.

https://leetcode.com/company/facebook/ 78/84
9/24/24, 12:25 AM Meta - LeetCode

1781. Sum of Beauty of All Substrings

Med.

1778. Shortest Path in a Hidden Grid

Med.

1861. Rotating the Box

Med.

1877. Minimize Maximum Pair Sum in Array

Med.

1888. Minimum Number of Flips to Make the Binary String Alternating

Med.

1884. Egg Drop With 2 Eggs and N Floors

Med.

1922. Count Good Numbers

Med.

1930. Unique Length-3 Palindromic Subsequences

Med.

https://leetcode.com/company/facebook/ 79/84
9/24/24, 12:25 AM Meta - LeetCode

1962. Remove Stones to Minimize the Total

Med.

1992. Find All Groups of Farmland

Med.

1980. Find Unique Binary String

Med.

2022. Convert 1D Array Into 2D Array

Easy

2011. Final Value of Variable After Performing Operations

Easy

2038. Remove Colored Pieces if Both Neighbors are the Same Color

Med.

2073. Time Needed to Buy Tickets

Easy

2090. K Radius Subarray Averages

Med.

https://leetcode.com/company/facebook/ 80/84
9/24/24, 12:25 AM Meta - LeetCode

2109. Adding Spaces to a String

Med.

2187. Minimum Time to Complete Trips

Med.

2281. Sum of Total Strength of Wizards

Hard

2302. Count Subarrays With Score Less Than K

Hard

2331. Evaluate Boolean Binary Tree

Easy

2367. Number of Arithmetic Triplets

Easy

2370. Longest Ideal Subsequence

Med.

2373. Largest Local Values in a Matrix

Easy

https://leetcode.com/company/facebook/ 81/84
9/24/24, 12:25 AM Meta - LeetCode

2418. Sort the People

Easy

2485. Find the Pivot Integer

Easy

2529. Maximum Count of Positive Integer and Negative Integer

Easy

2551. Put Marbles in Bags

Hard

2597. The Number of Beautiful Subsets

Med.

2611. Mice and Cheese

Med.

2623. Memoize

Med.

2619. Array Prototype Last

Easy

https://leetcode.com/company/facebook/ 82/84
9/24/24, 12:25 AM Meta - LeetCode

2634. Filter Elements from Array

Easy

2635. Apply Transform Over Each Element in Array

Easy

2706. Buy Two Chocolates

Easy

2656. Maximum Sum With Exactly K Elements

Easy

2676. Throttle

Med.

2824. Count Pairs Whose Sum is Less than Target

Easy

2859. Sum of Values at Indices With K Set Bits

Easy

3009. Maximum Number of Intersections on the Chart

Hard

https://leetcode.com/company/facebook/ 83/84
9/24/24, 12:25 AM Meta - LeetCode

3234. Count the Number of Substrings With Dominant Ones

Med.

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

You might also like