grindmapcompany-wise LeetCode
All companies

Spotify LeetCode Questions

14 questions all-time · 7 easy · 3 medium · 4 hard
# Problem Difficulty Frequency Acceptance
1Moving Average from Data Stream
Array, Design, Queue, Data Stream
Easy
100
0.8%
2Longest Substring Without Repeating Characters
Hash Table, String, Sliding Window
Medium
84
0.4%
3Analyze User Website Visit Pattern
Array, Hash Table, String, Sorting
Medium
84
0.4%
4Kth Largest Element in an Array
Array, Divide and Conquer, Sorting, Heap (Priority Queue), Quickselect
Medium
84
0.7%
5Leetcodify Friends Recommendations
Database
Hard
81
0.3%
6Leetcodify Similar Friends
Database
Hard
81
0.4%
7Two Sum
Array, Hash Table
Easy
76
0.6%
8Valid Parentheses
String, Stack
Easy
76
0.4%
9Sliding Window Median
Array, Hash Table, Sliding Window, Heap (Priority Queue)
Hard
67
0.4%
10Ransom Note
Hash Table, String, Counting
Easy
57
0.7%
11Fibonacci Number
Math, Dynamic Programming, Recursion, Memoization
Easy
57
0.7%
12Find Median from Data Stream
Two Pointers, Design, Sorting, Heap (Priority Queue), Data Stream
Hard
57
0.5%
13Maximum Depth of Binary Tree
Tree, Depth-First Search, Breadth-First Search, Binary Tree
Easy
49
0.8%
14Valid Palindrome
Two Pointers, String
Easy
49
0.5%

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. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.