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