Pinterest Coding Interview Questions
We track 41 coding questions asked at Pinterest, tagged with the algorithms and concepts they test. The most common: Array, String, Sorting, Hash Table, Dynamic Programming.
Browse all 41 Pinterest questions →Concept mix
Each question's weight is split evenly across its concepts, so the shares sum to 100%.
- Array17.1%
- String13.9%
- Dynamic Programming6.4%
- Hash Table5.5%
- Backtracking5.5%
- Sorting5.2%
- Breadth-First Search5.1%
- Binary Search3.9%
- Heap (Priority Queue)3.5%
- Two Pointers3.3%
- Other (26)30.1%
How many questions involve each concept
Share of all 41 tracked Pinterest questions that touch each concept. Questions usually involve several, so these overlap.
- Array48.8%
- String29.3%
- Sorting22.0%
- Hash Table19.5%
- Dynamic Programming17.1%
- Breadth-First Search14.6%
- Heap (Priority Queue)14.6%
- Backtracking12.2%
- Depth-First Search12.2%
- Binary Search9.8%
- Greedy7.3%
- Matrix7.3%
Where Pinterest differs from the average company
Concept weight at Pinterest relative to the average across all companies we track. Green means Pinterest leans on it harder than most.
- Backtracking4.2×
- Union-Find2.7×
- Heap (Priority Queue)2.3×
- Breadth-First Search2.3×
- Hash Table0.82×
- Greedy0.60×
- Math0.39×
Pinterest specialties
Concepts that show up at Pinterest but are rarely asked elsewhere. They are easy to get blindsided by.
Difficulty mix
Level split of the 41 tracked Pinterest questions.
- Junior2% (1)
- Mid/Senior61% (25)
- Staff37% (15)
Every concept in Pinterest interviews
| Concept | Questions | % of questions | Share of mix |
|---|---|---|---|
| Array | 20 | 48.8% | 17.1% |
| String | 12 | 29.3% | 13.9% |
| Sorting | 9 | 22.0% | 5.2% |
| Hash Table | 8 | 19.5% | 5.5% |
| Dynamic Programming | 7 | 17.1% | 6.4% |
| Breadth-First Search | 6 | 14.6% | 5.1% |
| Heap (Priority Queue) | 6 | 14.6% | 3.5% |
| Backtracking | 5 | 12.2% | 5.5% |
| Depth-First Search | 5 | 12.2% | 3.0% |
| Binary Search | 4 | 9.8% | 3.9% |
| Greedy | 3 | 7.3% | 1.8% |
| Matrix | 3 | 7.3% | 2.8% |
| Simulation | 3 | 7.3% | 2.8% |
| Two Pointers | 3 | 7.3% | 3.3% |
| Union-Find | 3 | 7.3% | 1.9% |
| Counting | 2 | 4.9% | 0.9% |
| Divide and Conquer | 2 | 4.9% | 1.2% |
| Graph Theory | 2 | 4.9% | 1.3% |
| Math | 2 | 4.9% | 2.2% |
| Prefix Sum | 2 | 4.9% | 1.5% |
| Binary Tree | 1 | 2.4% | 0.6% |
| Bit Manipulation | 1 | 2.4% | 0.6% |
| Bitmask | 1 | 2.4% | 0.6% |
| Bucket Sort | 1 | 2.4% | 0.4% |
| Data Stream | 1 | 2.4% | 0.6% |
| Design | 1 | 2.4% | 0.6% |
| Enumeration | 1 | 2.4% | 1.6% |
| Eulerian Circuit | 1 | 2.4% | 0.5% |
| Linked List | 1 | 2.4% | 0.8% |
| Merge Sort | 1 | 2.4% | 0.8% |
| Monotonic Stack | 1 | 2.4% | 0.6% |
| Quickselect | 1 | 2.4% | 0.4% |
| Sliding Window | 1 | 2.4% | 0.8% |
| Stack | 1 | 2.4% | 0.6% |
| Tree | 1 | 2.4% | 0.6% |
| Trie | 1 | 2.4% | 0.6% |
Practice a Pinterest interview
Take a realistic AI-led mock interview with questions Pinterest actually asks, with live voice and real feedback.
Start a mock interviewYour first interview is free · no credit card required