Interview Intel · Pinterest

Pinterest coding interview
questions, leaked.

49 problems reported across recent Pinterest interviews. Top patterns: array, string, sorting. The list below is what most reported candidates actually saw, plus the honest play if you can't grind all of it.

Founder's read

Pinterest's interview hits you with 49 problems across 6 rounds, and 38 of them are medium-to-hard. You'll face array manipulation constantly (32 problems), then strings and sorting (13 each), hash tables (12), and graph traversal (BFS/DFS combined, 19 problems). One problem is easy; don't count on it. You have maybe a week to drill the patterns that matter. If you blank mid-assessment on a hash-table or backtracking problem, StealthCoder runs invisibly and surfaces a working solution in seconds while the proctor sees nothing but your screen.

Tracked problems
49
Easy
1/ 2%
Medium
29/ 59%
Hard
19/ 39%

Top problems at Pinterest

leaked_problems.csv49 rows
#ProblemDiffFrequency
01Count and SayMEDIUM
100.0
02Reconstruct ItineraryHARD
94.8
03Shortest Path in a Grid with Obstacles EliminationHARD
93.4
04Optimal Account BalancingHARD
92.4
05Count Subarrays With Score Less Than KHARD
90.8
06Maximum Profit in Job SchedulingHARD
89.6
07Bus RoutesHARD
85.7
08Expression Add OperatorsHARD
85.0
09Find Median from Data StreamHARD
78.8
10Shortest Way to Form StringMEDIUM
76.6
11Is SubsequenceEASY
74.2
12Reorganize StringMEDIUM
72.8
13Design Search Autocomplete SystemHARD
69.8
14Longest Word in DictionaryMEDIUM
69.8
15Find Median Given Frequency of NumbersHARD
66.2
16Jump Game IIIMEDIUM
64.2
17Coin ChangeMEDIUM
61.9
18Find K-th Smallest Pair DistanceHARD
61.9
19Meeting Rooms IIIHARD
59.2
20String CompressionMEDIUM
59.2
21Sparse Matrix MultiplicationMEDIUM
59.2
22Target SumMEDIUM
56.2
23Unique Paths IIMEDIUM
56.2
24Minimize Result by Adding Parentheses to ExpressionMEDIUM
52.7
25Employee Free TimeHARD
48.3
26Is Graph Bipartite?MEDIUM
48.3
27Unique Paths IIIHARD
48.3
28The Number of Weak Characters in the GameMEDIUM
48.3
29Split Array Largest SumHARD
42.7
30Accounts MergeMEDIUM
42.7
31Combination SumMEDIUM
42.7
32Top K Frequent ElementsMEDIUM
42.7
33Letter Combinations of a Phone NumberMEDIUM
42.7
34Single Element in a Sorted ArrayMEDIUM
42.7
35Meeting Rooms IIMEDIUM
42.7
36Possible BipartitionMEDIUM
42.7
37Multiply StringsMEDIUM
42.7
38Find Minimum Time to Finish All JobsHARD
34.9
39Snakes and LaddersMEDIUM
34.9
40Shortest Path to Get All KeysHARD
34.9
41Number of IslandsMEDIUM
34.9
42Implement Trie (Prefix Tree)MEDIUM
34.9
43Sudoku SolverHARD
34.9
44The MazeMEDIUM
34.9
45Find the CelebrityMEDIUM
34.9
46Find First and Last Position of Element in Sorted ArrayMEDIUM
34.9
47Dot Product of Two Sparse VectorsMEDIUM
34.9
48Candy CrushMEDIUM
34.9
49Smallest Range Covering Elements from K ListsHARD
34.9

Frequencies derived from public community-tagged interview reports. Click a row to view on LeetCode.

The hedge

You have a week, maybe less. You can't out-grind the list above. StealthCoder runs invisibly during the actual Pinterest OA. The proctor cannot see it. Screen share cannot detect it. Built because the OA filter rejects engineers who'd pass the on-site. That's a broken filter. This is the workaround.

Get StealthCoder
Topic distribution
What this means

Arrays dominate the diet. Learn subarray patterns, two-pointer sweeps, and prefix sums first because they show up in easy wins and hard problems alike. Sorting and hash tables are your second wave. BFS and DFS are structural checkpoints for graph and matrix problems (11 and 8 problems respectively). The hard problems cluster around two big themes: dynamic programming (often paired with binary search or bitmask) and design-y backtracking (Reconstruct Itinerary, Expression Add Operators, Optimal Account Balancing). You're not expected to nail all 19 hard problems in prep. Drill the medium tier hard (like Reorganize String, Maximum Profit in Job Scheduling) first. For the hard outliers you haven't seen, StealthCoder is your safety net during the live assessment.

Companies with similar patterns

If you prepped for Pinterest, these companies recycle ~60% of the same topics.

The honest play

You've seen the list. Now make sure you pass Pinterest.

Memorizing every problem above in a week is a fantasy. StealthCoder is the hedge: an AI overlay that's invisible during screen share. It reads the problem on screen and surfaces a working solution in under 2 seconds. Built because the OA filter rejects engineers who'd pass the on-site. That's a broken filter. This is the workaround. Works on HackerRank, CodeSignal, CoderPad, and Karat.

Pinterest interview FAQ

How many array problems should I solve before the Pinterest interview?+

Arrays appear in 32 of 49 problems. Start with two-pointer and subarray patterns (Count Subarrays With Score Less Than K, sliding window). Aim for 15 to 20 variations before the OA. Combine with binary search and sorting for harder array-based problems.

Should I spend time on string problems if I'm running short?+

Strings hit 13 problems and often pair with hash tables or backtracking. Focus on Reorganize String and Expression Add Operators first. They're medium-to-hard and test realistic string manipulation. Skip the isolated string drills if time is tight.

Is graph knowledge essential for Pinterest?+

Graph problems (BFS, DFS, Eulerian Circuit) account for about 19 of the 49. Reconstruct Itinerary and Bus Routes are hard and test graph traversal depth. Master BFS/DFS on grids and basic graph structure. You can't skip this.

How much dynamic programming do I need?+

Eight problems touch DP, and most are hard. Optimal Account Balancing, Maximum Profit in Job Scheduling, and Find Median from Data Stream are the gatekeepers. Pair DP with binary search and bitmask drills. Medium DP reps first, then tackle hard variants.

What topic should I drill first if I have one week?+

Arrays and two-pointers. They're foundational for 32 problems and intersect with sorting, binary search, and strings. Spend days one to three here. Move to graphs (BFS/DFS) on days four to five, then DP and backtracking for days six to seven.

Problem frequencies sourced from public community-maintained interview-report repos. Problems, ratings, and trademarks are property of LeetCode and Pinterest. StealthCoder is not affiliated with Pinterest.