Capital One Interview Questions
We track 55 interview questions reported from Capital One: 41 in Coding Questions, 5 in ML Fundamentals & Algorithms. They average 2.6/5 difficulty — medium for a working engineer — and every one was reported by someone who sat the loop, not written by us. The topics that come up most: simulation, array, string, math. 45 were reported asked within the last year — most recently November 2026.
Practice these on the problems board →Question mix
- Coding Questions41
- ML Fundamentals & Algorithms5
- System Design for ML4
- MLOps & Deployment2
- LLMs & Prompt Engineering1
- Research & Paper Understanding1
- Behavioral1
Difficulty
- 1/5 — warm-up7
- 2/5 — easy13
- 3/5 — medium29
- 4/5 — hard6
Asked for SWE (46), MLE (12), DS (7), RS (5)
Topics Capital One asks about
2457 open roles at Capital One
- Sr. Operations Representative — Alabang, Muntinlupa City
- Technology Graduate — Nottingham, Eng
- Technology Summer Internship — Nottingham, Eng
- Machine Learning Engineer 4 (IC) — 5 Locations
- Full-stack Engineer 5 — McLean, VA
Reported Capital One questions
Implement Top-P (Nucleus) Sampling
3/5A coding question on decoding strategies for language models. It checks that you can turn raw token scores into a probability distribution without numerical overflow, choose a probability-mass cutoff with exact tie and rounding rules, and draw a reproducible sample from a seeded random source. A short discussion compares this method with keeping a fixed number of candidates.
LLMs & Prompt Engineeringasked January 2026single reportnucleus-samplingsoftmaxnumerical-stabilityDesign a Customer-Service Chatbot for Capital One
4/5This Capital One machine learning system design case study requires architects to build a secure, compliant virtual assistant for a heavily regulated financial institution. The exercise tests your expertise in weighing retrieval-augmented generation against fine-tuned language models, addressing latency constraints, and measuring automated interaction success. You must carefully scope automated workflows versus human handoffs. To view the comprehensive design framework and expert solution, a subscription is required.
System Design for MLasked February 2026single reportllmragchatbotBias-Variance Trade-off: Diagnose and Fix a Model
3/5A machine learning fundamentals question about why a model can underfit or overfit and how to decide what to change. It asks for definitions, a diagnostic procedure and the matching remedies.
ML Fundamentals & Algorithmsasked February 2026low frequencybias-varianceml-lifecycledistributed-trainingExplain a Regressing Production Model to a PM
3/5This Capital One role-play interview scenario places you in front of a non-technical product manager to explain why a machine learning model that performed brilliantly during validation is experiencing performance decay in live production. You must translate complex data drift and distributional shifts into clear, jargon-free explanations while maintaining composure under gentle professional pushback. The exercise also tests your ability to outline a structured diagnostic strategy to isolate and fix the root cause. View the complete interview guide and expert response strategies by subscribing.
MLOps & Deploymentasked February 2026single reportdistribution-shifttrain-serve-skewmonitoringAmusement Park Profitability Case
3/5A business case question on the yearly profit of an amusement park. It checks building a profit and loss statement from given figures, reasoning about how attendance changes move profit, finding a break-even price and ranking the levers that matter most.
ML Fundamentals & Algorithmsasked May 2026single reportcase-studyprofitabilitymental-mathMLE Deployment, Monitoring & Latency Optimisation
3/5Featured in Capital One machine learning engineering loops, this multi-part technical assessment covers both algorithmic warm-ups and high-level architecture discussions. You will navigate a tree traversal coding exercise followed by an in-depth conversation on deploying models to production, establishing robust monitoring pipelines, and diagnosing latency bottlenecks in real-time inference systems. This comprehensive review tests your practical ML engineering acumen. Gain access to the full problem guide and expert discussion points with a subscription.
MLOps & Deploymentasked February 2026low frequencydeploymentmonitoringlatencyDesign a Highly Reliable Account Balance System
4/5A system design question about building the backend that serves and updates account balances for a very large customer base. It focuses on correctness across region failures, retry safety and how displayed balances are checked against the authoritative record.
System Design for MLasked January 2026single reportdistributed-systemskafkareplicationDesign Capital One's Online Banking Application
4/5Reported as a comprehensive Capital One interview task, this system design challenge asks you to architect a secure online banking platform supporting diverse accounts, complex money transfers, and real-time fraud detection. It evaluates your expertise in transactional consistency, regulatory compliance, and robust API security. The full problem description and model solution require a subscription.
System Design for MLasked January 2026medium frequencysystem-designledgeridempotencyValidate a VaR Model and Its Monte Carlo Estimator
4/5A quantitative model-validation question on directional loss distributions, tail-quantile estimation, backtesting, stress analysis, and governance. It tests whether assumptions and numerical convergence criteria are stated precisely.
ML Fundamentals & Algorithmsasked March 2026single reportriskvarmonte-carloCredit Line Increase: Profit and Break-Even Case
3/5A business case question about whether raising customers' credit limits makes a card portfolio more profitable. It tests turning the decision into a simple profit calculation, finding the point where the answer flips, and judging which uncertain input matters most.
ML Fundamentals & Algorithmsasked February 2026single reportcase-studyp&lcredit-riskApplied Research Panel: Project Deep-Dive
4/5Prepare for rigorous research-oriented technical defenses similar to those conducted at Capital One. This interview simulation tests your depth of knowledge when presenting complex academic literature or proprietary projects, requiring you to defend architectural choices, derive mathematical formulations spontaneously, and critique experimental limitations under expert scrutiny. Surface-level explanations will not suffice for this evaluation. The full problem and model solution require a subscription.
Research & Paper Understandingasked January 2026single reportresearchpresentationdeep-diveWheat Harvest Case: Field Order, Harvest Day and Storage
3/5A business case question on farm operations: ordering work across fields, choosing a harvest date under weather risk, and deciding whether to store grain or sell it. It tests structured reasoning, expected-value arithmetic and sensitivity checks under time pressure.
ML Fundamentals & Algorithmsasked May 2026single reportcase-studystructured-thinkingoptimizationBehavioral Stories for Change, Conflict, and Growth
3/5A behavioral exercise about learning quickly, resolving disagreement, responding to changing priorities, and improving established practices. It assesses ownership, communication, concrete outcomes, and thoughtful reflection.
Behavioralasked May 2026high frequencybehavioralstarconflictEvaluate arithmetic equations from parallel arrays
1/5An easy warm-up coding task on validating many small sums and differences stored position by position across several lists. Each position carries an operator symbol that decides how its numbers combine before being compared with an expected value. The point is clean single-pass iteration and deciding how unexpected operator symbols are reported.
Coding Questionsasked October 2026single reportcodingarraysimulationLunar Phase State Lookup
2/5A coding question on finding the state of a repeating 8-day lunar cycle on a given calendar date. It checks how a season and day become a day of the year, the cycle wrap-around, and rejection of invalid dates.
Coding Questionsasked January 2026single reportmathsimulationmodular-arithmeticMatrix Border Sort and Clockwise Fill
3/5Tackle this engaging matrix manipulation puzzle reported during Capital One software engineering interviews. This challenge evaluates your proficiency with multi-dimensional array traversal, boundary extraction, and precise coordinate mapping. You will need to carefully handle concentric layers and reinsert elements in a specific rotational direction without losing data integrity. Unlock the detailed problem statement, edge-case analysis, and fully implemented solution by securing a subscription.
Coding Questionsasked July 2026medium frequencymatrixsimulationgridPair Concatenation to Target
3/5A coding question on counting ordered pairs of list entries whose decimal digits, joined end to end, read exactly as a given number. It checks repeated values, entries that cannot pair with themselves, zeros, and inputs too large for a pairwise scan.
Coding Questionsasked April 2026medium frequencystringhashmapcodesignalSimultaneous Color Elimination with Column Gravity
3/5A coding question on a two-dimensional grid of colored cells. You decide which cells disappear using a rule about adjacent cells of the same color, then shift the remaining cells down within their columns. It checks careful handling of simultaneous updates and boundary cells.
Coding Questionsasked January 2026single reportsimulationgridmatrixCount Symmetric Length-3 Substrings
1/5Examine a text string to find every three-character sliding window where the initial and concluding characters match each other regardless of letter casing. This beginner-friendly string processing exercise evaluates your fundamental knowledge of indexing, conditional logic, and character manipulation in programming languages. Often utilized in introductory technical evaluations at Capital One, it tests your ability to write clean, readable code with proper boundary checks. Unlocking the complete question details, extensive sample tests, and verified reference solution requires a paid subscription.
Coding Questionsstringcase-insensitivecountingMinutes Since Nearest Train Departure
2/5A coding question about finding elapsed time from a repeating daily timetable. It tests exact-match behavior, midnight boundaries, time parsing, and ordered schedule data.
Coding Questionsasked January 2026single reportbinary-searcharraytime-arithmeticDeal Out Win, Draw, Loss Results in Repeating Rounds
2/5A string coding question about regrouping a sequence of three kinds of outcomes into a repeating pattern. The tricky part is what happens once one kind is used up while others remain, and doing it without repeatedly searching and deleting from the text.
Coding Questionsasked July 2026single reportcodingstringcountingSubtract Product and Sum of Digits of a Large Number
2/5Take a number given as a long string of digits and report the difference between the product of its digits and their sum. This Capital One question is intentionally mechanical and checks two things: that you treat the input as text rather than an integer, and that you notice a single zero digit collapses the product. You will iterate once over the characters, keep both accumulators in step, and reason about the size the product can reach. The complete problem and the reference solution require a subscription.
Coding QuestionsmathstringimplementationMaximum Value of an Expression Read Along a Grid Path
3/5A coding question on a grid of digits and plus or minus signs. You read cells along a right-and-down walk as an arithmetic expression, subject to simple well-formedness rules, and must find the largest value obtainable. It tests careful state tracking over a two-dimensional grid.
Coding Questionsasked January 2026low frequencydynamic-programminggridparsingA/P Replacement Rounds
3/5Reported as a Capital One technical interview challenge, this puzzle simulates a sequential string transformation game governed by strict priority rules involving character frequency thresholds. The objective is to compute the total number of iterations needed before the sequence reaches a stable terminal state. This problem tests your ability to implement custom simulation logic efficiently while managing trailing patterns. Access to the complete problem instructions and the official model solution requires an active subscription.
Coding Questionsasked January 2026single reportsimulationarraymathMatrix Commands: Reverse Row, Swap, Rotate
3/5A coding question about simulating editing commands on a grid of numbers: reversing a row, exchanging two rows and turning the grid a quarter turn, where the shape changes part-way through the sequence. It checks careful index bookkeeping and whether the caller's data is left untouched.
Coding Questionsasked January 2026low frequencymatrixsimulationrotationWarehouse Package Routing with Closures and Capacity Resets
2/5A coding question on simulating a stream of routing events over a set of warehouses with limited capacity. It checks careful state tracking across capacity refills and permanent closures, a precise tie-break rule, and handling the case where nothing can accept work.
Coding Questionsasked April 2026low frequencysimulationschedulingarrayDesign a Credit Card Account and Billing Platform
4/5A system design question about an online platform for managing an existing credit card account. It covers opening the online account, taking payments, reporting to credit bureaus, raising a credit limit instantly and producing statements, plus API security, database consistency and how to prioritise audit work over real-time requests.
System Design for MLasked November 2026single reportsystem-designpaymentsapi-designLongest Same-Character Run
1/5This beginner-friendly string manipulation challenge, commonly encountered in Capital One technical assessments, asks programmers to discover the longest contiguous sequence of identical letters within a given text. When multiple character sequences share the maximum possible span, the algorithm must prioritize the instance appearing furthest to the right before formatting the result as a character-length pair. This puzzle evaluates foundational string traversal, conditional logic, and tracking techniques. Unlock the comprehensive problem statement, edge cases, and an optimized solution by purchasing a subscription.
Coding Questionsasked May 2026single reportstringtwo-pointercodesignalNumber of Substrings with Unique Characters
3/5Count the three-character windows of a string whose letters are all different from each other. This Capital One question is a fixed-size window scan, and the only real decision is whether to recount each window or maintain counts as the window slides. You will handle strings shorter than the window, keep the comparison cheap for a window this small, and state the cost for a very long input. A subscription unlocks the complete problem and the reference solution.
Coding Questionsstringssliding windowhash tableRotate Matrix Over Diagonals
3/5Apply a diagonal reflection to a square matrix a given number of times and return the result. This Capital One question is mostly about noticing that the operation repeats: reflections compose, so a large number of turns reduces to a small remainder rather than a long loop. You will work out the cycle length, implement one reflection cleanly in place or into a copy, and confirm which cells never move. Subscribers get the complete problem and the reference solution.
Coding Questionsasked October 2026medium frequencymatrixarraysimulationOdd Zero-Digit Count
1/5String manipulation and digit extraction form the core of foundational coding evaluations, exemplified by this reported Capital One interview question. The challenge involves examining a collection of numeric values to determine how frequently specific character patterns appear within their decimal representations, applying unique parity conditions to tally the final result. This exercise tests your ability to handle basic arithmetic conversions, conditional logic, and edge cases gracefully. It serves as a great warm-up for validating fundamental programming proficiency. The complete problem statement and detailed model solution require a subscription.
Coding Questionsasked April 2026single reportarraymathdigitsCheck Whether a Cyclic Shift Can Make the Array Strictly Descending
3/5Decide whether rotating an array right by a stated amount leaves it in strictly decreasing order. This Capital One question is short and worth reading twice, because the ambiguity about whether the rotation amount is given or chosen changes the problem entirely. You will implement the check without materialising the rotated copy, handle strictness at every adjacent pair, and say what an array with repeated values means for the answer. The full problem and the model solution require a subscription.
Coding QuestionsarrayssimulationrotationSort Matrix Anti-Diagonals by Their Letter Sequences
3/5Read each anti-diagonal of a letter grid as a string, then reorder the diagonals according to those strings. This Capital One question is index arithmetic first and sorting second: the diagonals are identified by the sum of row and column, and reading direction matters. You will collect each diagonal in the stated order, sort by the resulting strings, and write the grid back so that every cell lands where the new order puts it. The full problem and the reference solution require a subscription.
Coding QuestionsarraysmatrixstringsMinimum Increments to Form a Consecutive Run
3/5A coding question on array adjustment: with the only allowed change being to raise elements by one, work out the cheapest way to turn a list of heights into a perfectly regular staircase that goes up or down by one at every step. It tests careful reasoning about which target values are reachable and about edge cases.
Coding Questionsasked April 2026single reportgreedymatharrayLinear Regression from Scratch
3/5A machine learning coding question on fitting a linear model to numeric data from first principles, using only the standard library. It contrasts a direct algebraic solution with a step-by-step optimisation, and checks the details of both.
Coding Questionsasked January 2026single reportlinear-regressionnumpygradient-descentCount Numbers With One Different Digit
3/5Count the pairs of numbers in a list that have equally many digits and differ in exactly one position. This Capital One question rewards a hashing idea over the quadratic comparison: replacing each digit in turn with a wildcard gives keys that collide precisely for the pairs you want. You will group by those masked keys, convert group sizes into pair counts, and avoid counting a pair twice across different masks. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsarrayhashingcountingString Array Transformation
2/5Transform a list of strings in two different ways depending on whether each one has an odd or an even length. This Capital One warm-up is trivial to describe and still catches people who mutate the input list or who reverse and lowercase the same entry. You will apply exactly one rule per string, preserve list order, and decide how a single-character string is treated. Subscribers can read the full problem and the reference solution.
Coding QuestionsarraystringiterationReorder a String Alternating From Both Ends
2/5A short string-manipulation coding question about building a new ordering of a text from its two ends. It checks that you handle both even and odd lengths, avoid duplicating or dropping the middle character, and keep the work linear even for very long inputs.
Coding Questionsasked July 2026single reportcodingstringtwo-pointersCount Sawtooth (Alternating Parity) Subarrays
3/5A coding question about counting the stretches of an integer array in which neighbouring values switch between even and odd. It checks careful handling of single elements, repeated parity, negative numbers, an empty array and very long inputs.
Coding Questionsasked January 2026low frequencyarraycountingparityRepeated Leading-Nonzero Prefix Subtraction
2/5A coding question that asks for a function which takes an array of non-negative integers, applies a fixed rule that clears one entry at a time, and returns the total collected. Correct answers must respect where each step stops, treat zero and equal entries properly, and leave the caller's list unchanged.
Coding Questionsasked April 2026low frequencyarraysimulationprefix-minimumDynamic Two-Array Pair Sum Queries
3/5Answer repeated questions about how many cross-array pairs reach a target sum, while one of the arrays keeps changing underneath you. This Capital One assessment is about maintaining a structure rather than recomputing: a frequency map over one array turns each count query into a scan of the other, and each update is a small adjustment to that map. You will keep the map in step with the updates and reason about which array should be the indexed one. A subscription unlocks the full problem and the reference solution.
Coding Questionsasked June 2026hashmaparraysimulationCumulative Views Reach Target Day
1/5This Capital One interview question evaluates your ability to process sequential data and track running totals efficiently. You will need to determine the precise point in a collection where a specific cumulative threshold is achieved or surpassed under given constraints. The task tests fundamental looping concepts and boundary handling for missing targets. Access to the comprehensive problem description and complete verified solution requires an active subscription.
Coding Questionsarrayprefix-sumrunning-sumBattery Usage with Recharge Cycles
3/5Featured in recent Capital One technical interviews, this simulation problem models energy management for a device operating over a prolonged period using a pool of interchangeable batteries with varying capacities and recharge durations. The core task is to track power depletion and replenishment cycles to determine the minimum number of swaps needed, or whether the target runtime is entirely unachievable. It tests your capability to design priority queues and manage discrete event simulations. The full challenge description and expert implementation details require a subscription.
Coding Questionsasked February 2026single reportsimulationheapschedulingLaser Grid Robot Max Safe Run
2/5A coding question about a robot on a grid where each hazard wipes out a full row and column. It checks careful boundary handling, a protected starting cell, and choosing the best of four directions.
Coding Questionsasked May 2026single reportgridsimulationarrayCode Review of a Four-Stage Data Pipeline
2/5A code-reading exercise on a small multi-stage text-processing script. It asks for a plain-language explanation of each stage, a careful hand trace on concrete inputs, and a set of targeted suggestions for clearer, safer and faster code.
Coding Questionsasked January 2026low frequencycode-readingcommunicationhand-tracingEven Digit Count
2/5A beginner coding question on counting the values in a list of positive integers whose decimal form has an even number of digits. It checks careful handling of the values where the digit count changes, such as 99, 100 and 10000.
Coding Questionsasked May 2026single reportarraymathstringTetris-Style Figure Placement
3/5Drop a sequence of fixed shapes onto a grid, each at the earliest free position scanning by row and then column, and label the cells it occupies. This Capital One assessment is deliberately heavy on code rather than cleverness: five shape definitions, a placement scan, and a collision check. You will represent each shape as offsets, test a candidate position cheaply, and decide what happens when a shape no longer fits anywhere. Subscribers can read the full problem and the reference solution.
Coding Questionsasked April 2026gridsimulationoaList Every Root-to-Leaf Value Path
2/5A coding question about traversing a binary tree and returning every complete route to a leaf in deterministic order. It checks edge cases, very deep unbalanced trees and careful management of per-route state.
Coding Questionsasked February 2026low frequencytreedfsrecursionCount arithmetic triplets in a multiset after each query
3/5A data-structure exercise where a collection of integers changes over time and, after every change, you must report how many evenly spaced groups of three it contains. Repeated values multiply the count, and one kind of change wipes out every copy of a value. The goal is updating the answer incrementally from local information rather than rescanning everything.
Coding Questionsasked October 2026single reportcodinghashingcountingHouse Segments After Deletions
3/5Featured in Capital One technical interviews, this problem asks you to track the number of contiguous property segments remaining on a number line after a sequence of destruction events. As specific locations are systematically removed, you must efficiently calculate how the overall grouping count changes at each step. This challenge evaluates your ability to design efficient data structures and manage dynamic connectivity or interval merging operations. Unlock the comprehensive problem details and optimal model solution by acquiring a subscription.
Coding Questionsasked May 2026single reportsimulationsetintervalsReverse Between Vowel-Wrapped Substring Pairs
2/5A string manipulation question about reversing the stretches of text that lie between neighbouring vowels. It tests clean index handling and careful reading of a rule that is applied to overlapping pairs.
Coding Questionsasked January 2026single reportambiguous-specstring-processingtwo-pointerGet Function Execution Time
3/5Reconstruct how long each function actually ran from a log of starts and finishes, where a higher-priority task suspends whatever was running. This Capital One question is the classic exclusive-time problem: a stack holds the suspended work, and each log entry charges elapsed time to whatever sits on top. You will pause the parent on a nested start, resume it on the matching finish, and get the inclusive-versus-exclusive boundary right. The full problem and the reference solution require a subscription.
Coding QuestionsstacksimulationtimestampsCount Symmetric Length-3 Substrings
1/5This Capital One interview question asks you to scan a text sequence and tally how many three-character segments feature matching bookend letters, ignoring capitalization while disregarding the middle character entirely. It is designed to test your baseline text-processing capabilities, looping controls, and case-insensitivity handling in a straightforward setting. Gain full access to the complete challenge details and our optimized reference solution through a paid subscription.
Coding Questionsasked April 2026low frequencystringcase-insensitivecountingBranch with the most pushed files from a command log
1/5A short simulation exercise built on a text log that mimics a source-control session. You replay the entries in order while tracking which line of work is active and tally what lands on each one, then name the winner. The interesting parts are choosing a tie rule, handling logs that never record any contribution, and rejecting malformed sequences.
Coding Questionsasked October 2026single reportcodinghashingsimulationDesign a Bank Class: Deposit, Withdraw, Transfer
3/5An object-oriented design exercise: model accounts and money movement with clear error types, all-or-nothing updates and a readable audit trail. It also probes how you would extend the model for new account kinds, time-stamped records, suspicious-activity checks and concurrent callers.
Coding Questionsoop-designobject-designtransactions
Companies that ask similar questions
Capital One interview FAQ
- How many Capital One interview questions are available?
- 55 reported Capital One questions, the largest group being Coding Questions (41).
- How hard is the Capital One interview?
- Across the questions we track, Capital One averages 2.6 out of 5: 7 at 1/5, 13 at 2/5, 29 at 3/5, 6 at 4/5.
- What topics does Capital One ask about?
- Most often simulation, array, string, math, counting.
- Are these Capital One questions still current?
- The most recent Capital One report here is from November 2026, and 45 were reported asked within the last twelve months. Dates come from the interview reports themselves, so they reflect when candidates actually sat the question.