Monthly

Subscription

$35/mo

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

Yearly

Subscription

$159/yr

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
NEW

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
NEW

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 support@leetcode.com 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. The Maze II
  79. The Maze III
  80. The Maze
  81. Max Consecutive Ones II
  82. Find Permutation
  83. Encode String with Shortest Length
  84. Convex Polygon
  85. Optimal Account Balancing
  86. Sequence Reconstruction
  87. Ternary Expression Parser
  88. Word Squares
  89. Valid Word Square
  90. Sentence Screen Fitting
  91. Minimum Unique Word Abbreviation
  92. Valid Word Abbreviation
  93. Design Phone Directory
  94. Range Addition
  95. Plus One Linked List
  96. Find Leaves of Binary Tree
  97. Nested List Weight Sum II
  98. Design Hit Counter
  99. Bomb Enemy
  100. Sort Transformed Array
  101. Logger Rate Limiter
  102. Rearrange String k Distance Apart
  103. Line Reflection
  104. Design Snake Game
  105. Android Unlock Patterns
  106. Design Tic-Tac-Toe
  107. Moving Average from Data Stream
  108. Longest Substring with At Most K Distinct Characters
  109. Nested List Weight Sum
  110. Largest BST Subtree
  111. Maximum Size Subarray Sum Equals k
  112. Number of Connected Components in an Undirected Graph
  113. Generalized Abbreviation
  114. Shortest Distance from All Buildings
  115. Binary Tree Vertical Order Traversal
  116. Sparse Matrix Multiplication
  117. Range Sum Query 2D - Mutable
  118. Number of Islands II
  119. Smallest Rectangle Enclosing Black Pixels
  120. Binary Tree Longest Consecutive Sequence
  121. Best Meeting Point
  122. Flip Game II
  123. Flip Game
  124. Word Pattern II
  125. Unique Word Abbreviation
  126. Walls and Gates
  127. Inorder Successor in BST
  128. Zigzag Iterator
  129. Wiggle Sort
  130. Find the Celebrity
  131. Paint Fence
  132. Closest Binary Search Tree Value II
  133. Encode and Decode Strings
  134. Closest Binary Search Tree Value
  135. Alien Dictionary
  136. Palindrome Permutation II
  137. Palindrome Permutation
  138. Paint House II
  139. Graph Valid Tree
  140. 3Sum Smaller
  141. Paint House
  142. Verify Preorder Sequence in Binary Search Tree
  143. Factor Combinations
  144. Meeting Rooms II
  145. Meeting Rooms
  146. Flatten 2D Vector
  147. Count Univalue Subtrees
  148. Group Shifted Strings
  149. Strobogrammatic Number III
  150. Strobogrammatic Number II
  151. Strobogrammatic Number
  152. Shortest Word Distance III
  153. Shortest Word Distance II
  154. Shortest Word Distance
  155. Reverse Words in a String II
  156. Two Sum III - Data structure design
  157. Missing Ranges
  158. One Edit Distance
  159. Longest Substring with At Most Two Distinct Characters
  160. Read N Characters Given Read4 II - Call multiple times
  161. Read N Characters Given Read4
  162. Binary Tree Upside Down