Interview Intel · Capital One

Capital One coding interview
questions, leaked.

47 problems reported across recent Capital One interviews. Top patterns: array, string, math. 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

Capital One's interview has 47 problems in rotation, split 19% easy, 60% medium, 21% hard. You're walking into a gauntlet that's array-heavy (34 of 47 problems touch arrays) with a secondary emphasis on strings and math. The medium band is thick, which means you won't coast. If you blank mid-assessment on a pattern you thought you knew, StealthCoder runs invisibly and surfaces a solution in seconds. Most candidates don't have that hedge.

Tracked problems
47
Easy
9/ 19%
Medium
28/ 60%
Hard
10/ 21%

Top problems at Capital One

leaked_problems.csv47 rows
#ProblemDiffFrequency
01Simple Bank SystemMEDIUM
100.0
02Spiral MatrixMEDIUM
92.8
03Block Placement QueriesHARD
92.0
04Text JustificationHARD
82.9
05Minimum Operations to Write the Letter Y on a GridMEDIUM
81.6
06Candy CrushMEDIUM
75.3
07Count Alternating SubarraysMEDIUM
75.3
08Rotate ImageMEDIUM
73.4
09Four DivisorsMEDIUM
73.4
10Simplify PathMEDIUM
71.2
11Count Operations to Obtain ZeroEASY
71.2
12Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMEDIUM
68.9
13Split Message Based on LimitHARD
68.9
14Rotating the BoxMEDIUM
66.1
15Number of Black BlocksMEDIUM
63.0
16Count Prefix and Suffix Pairs IIHARD
59.3
17Largest Rectangle in HistogramHARD
59.3
18Best Time to Buy and Sell StockEASY
59.3
19Remove BoxesHARD
59.3
20Find the Length of the Longest Common PrefixMEDIUM
59.3
21Number of Flowers in Full BloomHARD
59.3
22Number of Subarrays That Match a Pattern IMEDIUM
54.8
23Palindrome NumberEASY
54.8
24Word SearchMEDIUM
54.8
25Coin ChangeMEDIUM
54.8
26Design File SystemMEDIUM
54.8
27Merge IntervalsMEDIUM
49.0
28Add StringsEASY
49.0
29Non-overlapping IntervalsMEDIUM
49.0
30Number of IslandsMEDIUM
49.0
31Word Search IIHARD
49.0
32Add Two NumbersMEDIUM
49.0
33Binary Tree PathsEASY
49.0
34Number of Adjacent Elements With the Same ColorMEDIUM
40.8
35LRU CacheMEDIUM
40.8
36Merge Two Sorted ListsEASY
40.8
37K-diff Pairs in an ArrayMEDIUM
40.8
38Meeting Rooms IIMEDIUM
40.8
39Rotate ArrayMEDIUM
40.8
40Roman to IntegerEASY
40.8
41Valid ParenthesesEASY
40.8
42Find Servers That Handled Most Number of RequestsHARD
40.8
43Get Biggest Three Rhombus Sums in a GridMEDIUM
40.8
44Reverse Nodes in k-GroupHARD
40.8
45Best Time to Buy and Sell Stock IIMEDIUM
40.8
46Minimum Absolute Difference Between Elements With ConstraintMEDIUM
40.8
47Count Prefix and Suffix Pairs IEASY
40.8

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 Capital One OA. The proctor cannot see it. Screen share cannot detect it. Made for the engineer who has done the work but might still blank with a webcam pointed at him.

Get StealthCoder
Topic distribution
What this means

Arrays dominate Capital One's question pool by a landslide. You'll see them combined with matrices, hashing, and simulation logic. String work is present but lighter (13 problems). Math and matrix problems often layer in search or geometry, so two-pointers and binary search are force multipliers, not afterthoughts. Simulation patterns show up repeatedly (think Spiral Matrix, Candy Crush, Rotating the Box), so get comfortable translating problem prose into step-by-step coordinate logic. The hard tier jumps to segment trees and binary indexed trees, but most of your reps should be medium: that's where volume is, and where small gaps in pattern recognition hurt. If a tree-based or complex-simulation question lands live and you hesitate, StealthCoder is your real-time backup to keep pace.

Companies with similar patterns

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

The honest play

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

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. Made for the engineer who has done the work but might still blank with a webcam pointed at him. Works on HackerRank, CodeSignal, CoderPad, and Karat.

Capital One interview FAQ

How many array problems should I drill before the Capital One OA?+

Arrays appear in 72% of Capital One's question bank. Drill at least 20 to 25 array problems, mixing solo arrays, arrays as grids, and arrays with hash tables. Hit Spiral Matrix, Rotate Image, and the block/placement problems. You can't skip this.

Is simulation a real weak point for Capital One, or is it overstated?+

Simulation appears in 6 of 47 problems, but it often pairs with arrays or matrices. Text Justification, Candy Crush, and Rotating the Box all require you to translate logic into indexing and state changes. If you nail arrays, simulation becomes a confidence boost, not a trap.

Should I study dynamic programming before my Capital One interview?+

DP shows up in only 5 problems (11% of the pool). It's a lower-priority topic for Capital One. Focus on arrays, strings, and math first. DP is a nice-to-have if you've cleared the core patterns with time left.

How much time should I spend on hard problems versus mediums?+

Mediums are 60% of the pool. Spend 70% of your prep time there. Hard problems (21%) often use segment trees or binary indexed trees, which are rare. Master mediums first, then tackle hard problems if you're confident on arrays and simulation.

What's the right order to study: arrays, strings, then math?+

Yes. Arrays are 72% of Capital One's problems, so drill those first (15 to 20 problems minimum). Strings are 28% of the pool, often paired with arrays or stacks (Simplify Path). Math appears solo (Four Divisors, Count Alternating Subarrays) and in matrices. Array mastery unlocks the rest.

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