Down from $39/month.
Our monthly plan grants access to all premium features, the best plan for short-term subscribers.




Our most popular plan previously sold for $299 and is now only $13/month. This plan saves you over 60% in comparison to the monthly plan.

 Lightning Judge

Tired of waiting? Premium users get priority judging using an exclusive queue, resulting in a 3X shorter wait time, up to 10X during peak hours.

 Access to Premium Articles

Detailed explanations of the solutions to problems, written by our team of algorithm and data structure experts. Frequently include carefully designed animations to help with understanding.

 Interview Simulations

Mock interviews provide you with a way to test your abilities in a timed setting, just like a coding challenge or on-site interview. You choose the company and we will select an appropriate question from our constantly growing database.

 Sort Questions by Prevalence

Find out which questions turn up most frequently in interviews so that you know where to focus your personal studying. Invaluable data collected from thousands of samples.

 Premium Questions Every Week

Become the early bird to access all the latest premium questions and land your dream job.

 Select Questions by Company

Target your studying more accurately towards your dream job. Find out which companies asked which questions, we have nearly 200 questions from Google alone.

~ FAQ ~

What will I get with a premium subscription?

In addition to free questions / articles, you will have access to exclusive premium questions / articles as well. You will also be able to group questions by company, and practice mock interviews targeting a specific company.

What are the premium articles? Is there a sample I can look at?

Some of the articles are reserved for premium subscribers only. You can take a look at this free sample article here. Please note that we are adding more articles so please check back frequently.

How does grouping questions by company work?

We compile the list of questions asked by specific companies based on data from user surveys: "Have you met this question in a real interview?". These lists will be kept up to date frequently with the ever growing survey data. You can find the list of companies in the problem list page, just below the Tag lists.

What about all the existing questions?

You will continue to have access to it all, it isn't going anywhere.

I clicked the subscribe button, fill in the credit card information and clicked "Add Payment Method". I still can't access the exclusive problems.

You may access My Subscription page to confirm your subscription. Please check your billing history to make sure the transaction went through. If it shows no new transaction, it means your card was probably declined. Please try subscribe again using another debit/credit card or contact your bank to inquire for more information. If you still encounter problems, contact us.

I purchased the Complete Edition about two months ago mainly because I want to have access to locked problems and would love to support LeetCode. Feel a little surprised that doesn't cover all locked questions?

The Complete Edition only covers the 10 exclusive questions from the eBook and had been deprecated in favor of the new premium subscription. To thank your support, we would like to offer you one month of premium subscription for free. Please contact with your order receipt number and we will activate your premium subscription immediately.

What if I sign up and want to cancel?

You can cancel your subscription at any time here. After cancellation your subscription will remain active until the current time period is finished.

What are the premium questions?   Show

Here is the current up to date premium question list, more is coming...

  1. Robot Room Cleaner
  2. Insert into a Cyclic Sorted List
  3. Similar RGB Color
  4. Split BST
  5. Minimize Max Distance to Gas Station
  6. Search in a Sorted Array of Unknown Size
  7. Basic Calculator III
  8. Encode N-ary Tree to Binary Tree
  9. Serialize and Deserialize N-ary Tree
  10. Find Anagram Mappings
  11. Employee Free Time
  12. Bold Words in String
  13. Convert Binary Search Tree to Sorted Doubly Linked List
  14. Pour Water
  15. IP to CIDR
  16. Number Of Corner Rectangles
  17. Closest Leaf in a Binary Tree
  18. Sentence Similarity II
  19. Sentence Similarity
  20. Minimum Window Subsequence
  21. Max Stack
  22. Candy Crush
  23. Number of Distinct Islands II
  24. Number of Distinct Islands
  25. Next Closest Time
  26. K Empty Slots
  27. Path Sum IV
  28. Equal Tree Partition
  29. Remove 9
  30. Coin Path
  31. 4 Keys Keyboard
  32. Design Search Autocomplete System
  33. Maximum Average Subarray II
  34. Find the Derangement of An Array
  35. Design Log Storage System
  36. Design Excel Sum Formula
  37. Maximum Distance in Arrays
  38. Minimum Factorization
  39. Add Bold Tag in String
  40. Design Compressed String Iterator
  41. Biggest Single Number
  42. Students Report By Geography
  43. Average Salary: Departments VS Company
  44. Second Degree Follower
  45. Shortest Distance in a Line
  46. Shortest Distance in a Plane
  47. Triangle Judgement
  48. Tree Node
  49. Sales Person
  50. Consecutive Available Seats
  51. Friend Requests II: Who Has the Most Friends
  52. Design In-Memory File System
  53. Friend Requests I: Overall Acceptance Rate
  54. Kill Process
  55. Customer Placing the Largest Number of Orders
  56. Investments in 2016
  57. Find Customer Referee
  58. Count Student Number in Departments
  59. Find Cumulative Salary of an Employee
  60. Get Highest Answer Rate Question
  61. Squirrel Simulation
  62. Employee Bonus
  63. Winning Candidate
  64. Maximum Vacation Days
  65. Find Median Given Frequency of Numbers
  66. Managers with at Least 5 Direct Reports
  67. Median Employee Salary
  68. Longest Line of Consecutive One in Matrix
  69. Split Concatenated Strings
  70. Binary Tree Longest Consecutive Sequence II
  71. Split Array with Equal Sum
  72. Boundary of Binary Tree
  73. Output Contest Matches
  74. Construct Binary Tree from String
  75. Lonely Pixel II
  76. Lonely Pixel I
  77. Word Abbreviation
  78. Inorder Successor in BST II
  79. The Maze II
  80. The Maze III
  81. The Maze
  82. Max Consecutive Ones II
  83. Find Permutation
  84. Encode String with Shortest Length
  85. Convex Polygon
  86. Optimal Account Balancing
  87. Sequence Reconstruction
  88. Ternary Expression Parser
  89. Word Squares
  90. Valid Word Square
  91. Sentence Screen Fitting
  92. Minimum Unique Word Abbreviation
  93. Valid Word Abbreviation
  94. Design Phone Directory
  95. Range Addition
  96. Plus One Linked List
  97. Find Leaves of Binary Tree
  98. Nested List Weight Sum II
  99. Design Hit Counter
  100. Bomb Enemy
  101. Sort Transformed Array
  102. Logger Rate Limiter
  103. Rearrange String k Distance Apart
  104. Line Reflection
  105. Design Snake Game
  106. Android Unlock Patterns
  107. Design Tic-Tac-Toe
  108. Moving Average from Data Stream
  109. Longest Substring with At Most K Distinct Characters
  110. Nested List Weight Sum
  111. Largest BST Subtree
  112. Maximum Size Subarray Sum Equals k
  113. Number of Connected Components in an Undirected Graph
  114. Generalized Abbreviation
  115. Shortest Distance from All Buildings
  116. Binary Tree Vertical Order Traversal
  117. Sparse Matrix Multiplication
  118. Range Sum Query 2D - Mutable
  119. Number of Islands II
  120. Smallest Rectangle Enclosing Black Pixels
  121. Binary Tree Longest Consecutive Sequence
  122. Best Meeting Point
  123. Flip Game II
  124. Flip Game
  125. Word Pattern II
  126. Unique Word Abbreviation
  127. Walls and Gates
  128. Inorder Successor in BST
  129. Zigzag Iterator
  130. Wiggle Sort
  131. Find the Celebrity
  132. Paint Fence
  133. Closest Binary Search Tree Value II
  134. Encode and Decode Strings
  135. Closest Binary Search Tree Value
  136. Alien Dictionary
  137. Palindrome Permutation II
  138. Palindrome Permutation
  139. Paint House II
  140. Graph Valid Tree
  141. 3Sum Smaller
  142. Paint House
  143. Verify Preorder Sequence in Binary Search Tree
  144. Factor Combinations
  145. Meeting Rooms II
  146. Meeting Rooms
  147. Flatten 2D Vector
  148. Count Univalue Subtrees
  149. Group Shifted Strings
  150. Strobogrammatic Number III
  151. Strobogrammatic Number II
  152. Strobogrammatic Number
  153. Shortest Word Distance III
  154. Shortest Word Distance II
  155. Shortest Word Distance
  156. Reverse Words in a String II
  157. Two Sum III - Data structure design
  158. Missing Ranges
  159. One Edit Distance
  160. Longest Substring with At Most Two Distinct Characters
  161. Read N Characters Given Read4 II - Call multiple times
  162. Read N Characters Given Read4
  163. Binary Tree Upside Down