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.

Access to Premium Articles
NEW

Read 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

Our 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.

Get Premium Questions Every Week

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

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.

Select Questions by Company

Find out which companies asked which questions so that you can target your studying more accurately towards your dream job. 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 above 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. Longest Line of Consecutive One in Matrix
  2. Split Concatenated Strings
  3. Binary Tree Longest Consecutive Sequence II
  4. Split Array with Equal Sum
  5. Boundary of Binary Tree
  6. Output Contest Matches
  7. Construct Binary Tree from String
  8. Lonely Pixel II
  9. Lonely Pixel I
  10. Word Abbreviation
  11. The Maze II
  12. The Maze III
  13. The Maze
  14. Max Consecutive Ones II
  15. Find Permutation
  16. Encode String with Shortest Length
  17. Convex Polygon
  18. Optimal Account Balancing
  19. Sequence Reconstruction
  20. Ternary Expression Parser
  21. Word Squares
  22. Valid Word Square
  23. Sentence Screen Fitting
  24. Minimum Unique Word Abbreviation
  25. Valid Word Abbreviation
  26. Design Phone Directory
  27. Range Addition
  28. Plus One Linked List
  29. Find Leaves of Binary Tree
  30. Nested List Weight Sum II
  31. Design Hit Counter
  32. Bomb Enemy
  33. Sort Transformed Array
  34. Logger Rate Limiter
  35. Rearrange String k Distance Apart
  36. Line Reflection
  37. Design Snake Game
  38. Android Unlock Patterns
  39. Design Tic-Tac-Toe
  40. Moving Average from Data Stream
  41. Longest Substring with At Most K Distinct Characters
  42. Nested List Weight Sum
  43. Largest BST Subtree
  44. Maximum Size Subarray Sum Equals k
  45. Number of Connected Components in an Undirected Graph
  46. Generalized Abbreviation
  47. Shortest Distance from All Buildings
  48. Binary Tree Vertical Order Traversal
  49. Sparse Matrix Multiplication
  50. Range Sum Query 2D - Mutable
  51. Number of Islands II
  52. Smallest Rectangle Enclosing Black Pixels
  53. Binary Tree Longest Consecutive Sequence
  54. Best Meeting Point
  55. Flip Game II
  56. Flip Game
  57. Word Pattern II
  58. Unique Word Abbreviation
  59. Walls and Gates
  60. Inorder Successor in BST
  61. Zigzag Iterator
  62. Wiggle Sort
  63. Find the Celebrity
  64. Paint Fence
  65. Closest Binary Search Tree Value II
  66. Encode and Decode Strings
  67. Closest Binary Search Tree Value
  68. Alien Dictionary
  69. Palindrome Permutation II
  70. Palindrome Permutation
  71. Paint House II
  72. Graph Valid Tree
  73. 3Sum Smaller
  74. Paint House
  75. Verify Preorder Sequence in Binary Search Tree
  76. Factor Combinations
  77. Meeting Rooms II
  78. Meeting Rooms
  79. Flatten 2D Vector
  80. Count Univalue Subtrees
  81. Group Shifted Strings
  82. Strobogrammatic Number III
  83. Strobogrammatic Number II
  84. Strobogrammatic Number
  85. Shortest Word Distance III
  86. Shortest Word Distance II
  87. Shortest Word Distance
  88. Reverse Words in a String II
  89. Two Sum III - Data structure design
  90. Missing Ranges
  91. One Edit Distance
  92. Longest Substring with At Most Two Distinct Characters
  93. Read N Characters Given Read4 II - Call multiple times
  94. Read N Characters Given Read4
  95. Binary Tree Upside Down

Send Feedback