Capital One Coding Interview Questions
We track 59 coding questions asked at Capital One, tagged with the algorithms and concepts they test. The most common: Array, String, Hash Table, Math, Simulation.
Browse all 59 Capital One questions →Concept mix
Each question's weight is split evenly across its concepts, so the shares sum to 100%.
- Array24.2%
- String10.5%
- Math9.7%
- Hash Table8.2%
- Simulation4.7%
- Dynamic Programming3.2%
- Matrix3.1%
- Sorting2.8%
- Stack2.4%
- Sliding Window2.3%
- Other (30)29.3%
How many questions involve each concept
Share of all 59 tracked Capital One questions that touch each concept. Questions usually involve several, so these overlap.
- Array67.8%
- String28.8%
- Hash Table27.1%
- Math18.6%
- Simulation13.6%
- Matrix10.2%
- Sorting10.2%
- Depth-First Search8.5%
- Dynamic Programming8.5%
- Binary Search6.8%
- Counting6.8%
- Greedy6.8%
Where Capital One differs from the average company
Concept weight at Capital One relative to the average across all companies we track. Green means Capital One leans on it harder than most.
- Rolling Hash11.0×
- Binary Indexed Tree8.0×
- Hash Function5.5×
- Ordered Set5.3×
- Linked List0.52×
- Dynamic Programming0.52×
- Two Pointers0.50×
- Heap (Priority Queue)0.40×
Capital One specialties
Concepts that show up at Capital One but are rarely asked elsewhere. They are easy to get blindsided by.
Difficulty mix
Level split of the 59 tracked Capital One questions.
- Junior20% (12)
- Mid/Senior61% (36)
- Staff19% (11)
Every concept in Capital One interviews
| Concept | Questions | % of questions | Share of mix |
|---|---|---|---|
| Array | 40 | 67.8% | 24.2% |
| String | 17 | 28.8% | 10.5% |
| Hash Table | 16 | 27.1% | 8.2% |
| Math | 11 | 18.6% | 9.7% |
| Simulation | 8 | 13.6% | 4.7% |
| Matrix | 6 | 10.2% | 3.1% |
| Sorting | 6 | 10.2% | 2.8% |
| Depth-First Search | 5 | 8.5% | 2.0% |
| Dynamic Programming | 5 | 8.5% | 3.2% |
| Binary Search | 4 | 6.8% | 1.7% |
| Counting | 4 | 6.8% | 1.8% |
| Greedy | 4 | 6.8% | 2.1% |
| Ordered Set | 4 | 6.8% | 1.6% |
| Sliding Window | 4 | 6.8% | 2.3% |
| Breadth-First Search | 3 | 5.1% | 1.4% |
| Design | 3 | 5.1% | 1.4% |
| Hash Function | 3 | 5.1% | 1.1% |
| Rolling Hash | 3 | 5.1% | 1.1% |
| Stack | 3 | 5.1% | 2.4% |
| String Matching | 3 | 5.1% | 1.1% |
| Trie | 3 | 5.1% | 1.1% |
| Two Pointers | 3 | 5.1% | 1.8% |
| Backtracking | 2 | 3.4% | 1.0% |
| Binary Indexed Tree | 2 | 3.4% | 0.8% |
| Heap (Priority Queue) | 2 | 3.4% | 0.6% |
| Linked List | 2 | 3.4% | 1.1% |
| Prefix Sum | 2 | 3.4% | 0.9% |
| Segment Tree | 2 | 3.4% | 0.8% |
| Union-Find | 2 | 3.4% | 1.0% |
| Binary Tree | 1 | 1.7% | 0.4% |
| Doubly-Linked List | 1 | 1.7% | 0.5% |
| Enumeration | 1 | 1.7% | 0.6% |
| Eulerian Circuit | 1 | 1.7% | 0.3% |
| Graph Theory | 1 | 1.7% | 0.3% |
| Memoization | 1 | 1.7% | 0.6% |
| Monotonic Queue | 1 | 1.7% | 0.3% |
| Monotonic Stack | 1 | 1.7% | 0.6% |
| Queue | 1 | 1.7% | 0.3% |
| Recursion | 1 | 1.7% | 0.6% |
| Tree | 1 | 1.7% | 0.4% |
Practice a Capital One interview
Take a realistic AI-led mock interview with questions Capital One actually asks, with live voice and real feedback.
Start a mock interviewYour first interview is free · no credit card required