Spotify LeetCode Interview Questions
Spotify has asked 14 distinct LeetCode questions across all recorded interviews: 7 easy, 3 medium and 4 hard. The questions reported most often are Moving Average from Data Stream, Longest Substring Without Repeating Characters and Analyze User Website Visit Pattern. 1 of them was reported in interviews from the Last 30 Days window. Every question links straight to LeetCode, and the list can be filtered by difficulty and topic or sorted by how often the question comes up.
| # | Problem | Difficulty | Frequency | Acceptance | |
|---|---|---|---|---|---|
| 1 | Moving Average from Data Stream | Easy | 100 | 0.8% | |
| 2 | Longest Substring Without Repeating Characters | Medium | 84 | 0.4% | |
| 3 | Analyze User Website Visit Pattern | Medium | 84 | 0.4% | |
| 4 | Kth Largest Element in an Array | Medium | 84 | 0.7% | |
| 5 | Leetcodify Friends Recommendations | Hard | 81 | 0.3% | |
| 6 | Leetcodify Similar Friends | Hard | 81 | 0.4% | |
| 7 | Two Sum | Easy | 76 | 0.6% | |
| 8 | Valid Parentheses | Easy | 76 | 0.4% | |
| 9 | Sliding Window Median | Hard | 67 | 0.4% | |
| 10 | Ransom Note | Easy | 57 | 0.7% | |
| 11 | Fibonacci Number | Easy | 57 | 0.7% | |
| 12 | Find Median from Data Stream | Hard | 57 | 0.5% | |
| 13 | Maximum Depth of Binary Tree | Easy | 49 | 0.8% | |
| 14 | Valid Palindrome | Easy | 49 | 0.5% |
Where this data comes from
These questions come from the public leetcode-company-wise-problems data set, which collects interview reports from candidates. They are community-reported rather than published by Spotify, so treat the list as a strong signal of what gets asked, not an official or exhaustive syllabus. Last refreshed .
How to read this list
The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.
Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. It is a relative popularity signal within Spotify's questions, not a probability that you will be asked it. Acceptance is LeetCode's own share of submissions that pass for that problem, across all users, not something specific to Spotify. Click any question to open it on LeetCode.