Capital One interview practice

Capital One interview questions

132 questions; coding questions sorted by reports.

FastPrep has 114 coding questions tagged Capital One, plus 9 system design, 4 low-level design and 5 project coding questions. Filter them by interview stage and open any one to practice it.

Questions
132 (114 coding, 18 design and project)
By stage
Online Assessment 37 · Phone Screen 10 · Onsite 76
Updated

Question list

All 114 Capital One coding questions

Sorted by how many times each question was reported. Pick a stage to see only its questions.

Showing 114 of 114 Capital One questions.

QuestionDifficultyStageReports
Banking System with Top ActivityHash TableSortingMediumOnsite24 reports · last Sep 2026
Digit-Coded Card ValidationArraySimulationMediumOnsite12 reports · last Nov 2026
Fewest Bills and CoinsGreedyMathEasyOnsite5 reports · last Mar 2024
LRU CacheDesignHash TableMediumPhone · Onsite4 reports · last May 2026
Earn the Most 🐝ArraySliding WindowMediumOA3 reports · last Nov 2026
Count Subarrays Matching a Comparison PatternArraySliding WindowMediumOA3 reports · last Oct 2026
Sort Adjacent PairsArraySortingEasyOA3 reports · last Oct 2026
Brightest Position on a StreetIntervalsPrefix SumMediumOA3 reports · last Sep 2026
Missing NumberArrayMathEasyOnsite3 reports · last Jul 2021
Pay Dollars Out in Euro Bills and CoinsGreedyMathEasyOnsite3 reports · last Jun 2021
Branch with the Most FilesHash TableSimulationEasyOA2 reports · last Nov 2026
Earliest Meeting Time for All EmployeesIntervalsSortingMediumOA2 reports · last Nov 2026
Rank Football TeamsArraySortingEasyOA2 reports · last Oct 2026
Count One-Swap Number PairsArrayStringMediumOA2 reports · last Oct 2026
Distinct Values on Maximum-Sum FramesMatrixMediumOA2 reports · last Oct 2026
Find a Symbolic Matrix PatternMatrixHash TableMediumOA2 reports · last Oct 2026
Alternate String EndsStringTwo PointersEasyOA2 reports · last Sep 2026
Dynamic Wall Building and Range QuerySegment TreePrefix SumMediumOA2 reports · last Aug 2026
Queue Check-in Simulation with Capacity LimitQueueSimulationEasyOA2 reports · last Aug 2026
Sort Every Matrix Border LayerMatrixSortingMediumOA2 reports · last Aug 2026
Cashback TrackerHash TableSortingMediumOnsite2 reports · last Nov 2025
Reverse a StringStringTwo PointersEasyOA · Onsite2 reports · last Oct 2025
Min StackStackDesignMediumPhone · Onsite2 reports · last Nov 2023
Two SumArrayHash TableEasyOA · Onsite2 reports · last Jul 2022
Tennis Game WinnerStringSimulationEasyOnsite2 reports · last May 2022
Do the Words Follow the Letter Pattern?Hash TableStringEasyOnsite2 reports · last Dec 2019
Balanced Parentheses Inside a StringStringStackEasyOnsite2 reports · last Aug 2017
Arithmetic Triplets After QueriesHash TableMathHardOA1 report · last Oct 2026
Count Records Present in A but Not BDatabaseEasyPhone1 report · last Oct 2026
Bouncing Diagonal WeightsMatrixSortingMediumOA1 report · last Oct 2026
Lowest Number in an Open RangeArrayEasyOA1 report · last Oct 2026
Sort ColorsArraySortingMediumOnsite1 report · last Oct 2026
Virtual Card Transaction ValidatorSimulationEasyOnsite1 report · last Oct 2026
First Value Below Both NeighborsArraySimulationEasyOA1 report · last Oct 2026
Forward Block Placement QueriesArrayBinary SearchMediumOA1 report · last Oct 2026
Sorted Cyclic Shift Difference SumsArraySortingMediumOA1 report · last Oct 2026
Circular High-Low PatternArrayEasyOA1 report · last Sep 2026
Transaction Event StoreDesignHash TableMediumOnsite1 report · last Jul 2026
Shortest Path in an Unweighted GraphGraphBreadth-First SearchEasyOnsite1 report · last Jul 2026
Duplicate Transactions Within 60 SecondsArrayHash TableEasyOnsite1 report · last May 2026
Cyclic Shift to Strictly Descending ArrayArraySimulationEasyOA1 report · last May 2026
Most Cost-Effective MachineStringParsingEasyOnsite1 report · last Sep 2025
Maximum Subarray SumArrayDynamic ProgrammingMediumPhone · Onsite1 report · last Aug 2025
Card Transaction StreamHash TableStringEasyOnsite1 report · last Apr 2025
Top K Keys from JSON RecordsStringHash TableMediumOnsite1 report · last Feb 2025
Apply Matrix OperationsArrayMatrixMediumOA1 report · last Jan 2025
Count Words with Each PrefixStringTrieMediumOA1 report · last Jan 2025
Get Function Execution TimeStackSimulationMediumOA1 report · last Jan 2025
Sum Digits Until OneMathHash TableEasyOA1 report · last Dec 2024
Pop Diagonal ChainsArrayMatrixMediumOA1 report · last Oct 2024
Two-Person Chat LayoutStringSimulationMediumOA1 report · last Sep 2024
Reverse a Linked ListLinked ListEasyOnsite1 report · last Sep 2024
File System PathsHash TableStringMediumOnsite1 report · last Jun 2024
Count Grid Words with One TurnMatrixStringMediumOA1 report · last Dec 2023
Ten-Pin Bowling Frame ScoresArraySimulationEasyPhone1 report · last Nov 2023
Reverse Each Group of K List NodesLinked ListHardOnsite1 report · last Jul 2023
Pair Sum Closest to ZeroArrayTwo PointersMediumOnsite1 report · last Nov 2022
Reverse K-Groups, Then Swap Adjacent GroupsLinked ListHardOnsite1 report · last Jul 2022
Sum of Primes Up to NMathMediumOnsite1 report · last Feb 2022
Words by Curly Brace DepthStringStackMediumOnsite1 report · last Jul 2021
Letter Combinations of Phone DigitsStringBacktrackingMediumOnsite1 report · last Jul 2021
Count a Character in a StringStringEasyOnsite1 report · last Jun 2021
Binary SearchArrayBinary SearchEasyOnsite1 report · last Dec 2020
Invert a Binary TreeTreeBreadth-First SearchEasyPhone1 report · last Dec 2020
Stack Built on a Linked ListStackLinked ListEasyOnsite1 report · last Oct 2020
Prune Subtrees That Hold Only ZerosTreeDepth-First SearchMediumOnsite1 report · last Nov 2019
Summarize Runs of Consecutive IntegersArrayEasyOnsite1 report · last Oct 2019
Convert Between Dollars and Euros to the CentMathStringEasyOnsite1 report · last Oct 2019
Write a Numeric Date in WordsStringEasyOnsite1 report · last Sep 2019
Deep Copy a Linked List With Random PointersLinked ListHash TableMediumOnsite1 report · last Sep 2018
Check the Order of a Binary Search TreeTreeDepth-First SearchMediumOnsite1 report · last Feb 2018
Spell a Number From 0 to 999 in EnglishStringMathEasyOnsite1 report · last Oct 2017
Value of the Kth Node From the EndLinked ListTwo PointersEasyOnsite1 report · last Mar 2015
Earliest Letter With a Single AppearanceStringHash TableEasyOnsite1 report · last Mar 2015
Add Two Numbers Given as Digit ArraysArrayMathEasyOnsiteNot yet reported
Add Two Numbers Stored as Linked ListsLinked ListMathMediumOnsiteNot yet reported
Bank Accounts With UndoDesignStackMediumOnsiteNot yet reported
Busiest Distribution CenterSimulationArrayMediumOANot yet reported
Count How Often a Word Appears in a ParagraphStringHash TableEasyPhoneNot yet reported
Count Lamps Lighting Each PointArrayBinary SearchMediumOANot yet reported
Count Primes Up to and Including NMathMediumOnsiteNot yet reported
Credit Card Monthly StatementSimulationMathMediumOnsiteNot yet reported
Crush Runs of Equal NumbersArrayMatrixMediumOANot yet reported
Customer Support Line With CancellationsQueueDesignEasyOnsiteNot yet reported
Digit Pair With Three Question Marks BetweenStringEasyOnsiteNot yet reported
Does the String Read the Same Backwards?StringTwo PointersEasyOnsiteNot yet reported
Fewest Coins for an AmountDynamic ProgrammingBreadth-First SearchMediumOnsiteNot yet reported
Find a Value in a Binary Search TreeTreeBinary SearchEasyOnsiteNot yet reported
First Element Two Sets ShareArrayHash TableEasyOnsiteNot yet reported
First Shared Value When Popping Two StacksStackHash TableEasyOnsiteNot yet reported
FizzBuzzMathStringEasyOANot yet reported
In-Memory File System With Directory SizesDesignHash TableMediumPhone · OnsiteNot yet reported
List All Primes From 0 to NMathArrayEasyOnsiteNot yet reported
Mean of Three Numbers Stored as Linked ListsLinked ListMathMediumOnsiteNot yet reported
Merge K Sorted Linked Lists Into OneLinked ListRecursionHardOnsiteNot yet reported
Merge Two Sorted Linked ListsLinked ListTwo PointersEasyOnsiteNot yet reported
Open or Closed: A Door After the First Y PeopleMathSimulationEasyOnsiteNot yet reported
Pick the K Nearest Grid Points to (0, 0)ArraySortingMediumPhone · OnsiteNot yet reported
Preorder, Inorder and Postorder of a Binary TreeTreeDepth-First SearchEasyOA · OnsiteNot yet reported
Product of Two Integers Without MultiplyingMathBit ManipulationMediumOnsiteNot yet reported
Put the Letters of a String in Alphabetical OrderStringSortingEasyOnsiteNot yet reported
Remove the Leaves of a Binary TreeTreeDepth-First SearchEasyOnsiteNot yet reported
Right Edge of a Binary Search Tree Built From a ListTreeBinary SearchEasyOnsiteNot yet reported
Run a Queue Built From StacksStackQueueEasyOnsiteNot yet reported
Second Distinct Value Two Arrays ShareArrayHash TableEasyOnsiteNot yet reported
Separate a Sentence Into Anagram GroupsStringHash TableMediumOnsiteNot yet reported
Smallest Merge of Two StringsStringGreedyMediumOANot yet reported
Stable Sort of Logs With Three TypesArraySortingEasyOnsiteNot yet reported
Super Stack With Bottom IncrementsStackDesignMediumOnsiteNot yet reported
Symmetric Binary TreeTreeBreadth-First SearchEasyOnsiteNot yet reported
The Nth Number in the Fibonacci SequenceMathDynamic ProgrammingEasyPhone · OnsiteNot yet reported
Total Balance of an Account and Its Sub-AccountsTreeDepth-First SearchMediumOnsiteNot yet reported
Value at the Kth Node of a Linked ListLinked ListEasyOnsiteNot yet reported
Where Does the Pattern First Appear in the Text?StringTwo PointersEasyOnsiteNot yet reported

At a glance

Capital One interview process

FastPrep has 114 Capital One coding interview questions: 37 questions from the online assessment (OA), 10 questions from phone screens and 76 questions from onsite rounds. A question can be reported in more than one stage. Most are easy (59 easy, 51 medium and 4 hard). The most common topics are Array, String, Simulation, Hash Table and Math. The latest report is from Nov 2026.

  • Online Assessment

    37 questions · 22 medium, 14 easy and 1 hard

    Topics: Array, Simulation and String

    Latest report: Nov 2026

  • Phone Screen

    10 questions · 5 easy and 5 medium

    Topics: Array, Design and Hash Table

    Latest report: Oct 2026

  • Onsite

    76 questions · 44 easy, 29 medium and 3 hard

    Topics: String, Hash Table and Math

    Latest report: Nov 2026

By stage and level

Capital One questions by stage and level

01 · How to practice each stage

Practice the stage you actually have next.

Use explicit assessment-platform labels only when the underlying problem records support them; otherwise practice the transferable coding and testing skills without guessing the vendor. Your invitation and recruiter come first.

  1. 01

    Online Assessment

    Use the timing and format in your invitation as the source of truth. In practice, work without interruptions, budget time to read constraints, and reserve a final review window for boundary cases.

    • State the input, output, and complexity target before coding.
    • Implement one complete solution inside a fixed timebox.
    • Run small, duplicate, empty, and boundary cases before finishing.
  2. 02

    Phone Screen

    Treat the problem as a conversation. Clarify the contract, describe the approach before implementation, and keep narrating meaningful decisions while you code and test.

    • Ask clarifying questions instead of silently filling gaps.
    • Explain the data structure and expected complexity.
    • Walk through at least one example and one edge case aloud.
  3. 03

    Onsite

    Use the catalog's onsite labels as practice context, not as a promise about a specific loop. Focus on collaborative problem solving: compare approaches, implement cleanly, and explain how the solution behaves at scale.

    • Compare a straightforward approach with the optimized one.
    • Keep the implementation readable while discussing tradeoffs.
    • Test the result, then name follow-up improvements explicitly.

02 · Design and project questions

18 Capital One design and project questions

Beyond coding questions, FastPrep has 9 system design, 4 low-level design and 5 project coding questions tagged Capital One.

System designLast reported Nov 2026

Design a Credit Card Account and Authorization Platform

Authenticate cardholders, authorize purchases with fraud and credit controls, expose spending status, decide limit changes, and report monthly account state.

Practice
Project codingLast reported Oct 2026

Debug a Cosine Similarity API

Debug an API involving cosine similarity.

Practice
System designLast reported Oct 2026

Design a Goal-Driven Tool-Using Agent

Design a safe, durable service that turns a user goal into observable multi-step tool execution.

Practice
Low-level designLast reported Aug 2026

Design a Job Marketplace Domain

Model people, job postings, applications, saved jobs, and the many-to-many relationships between them.

Practice
System designLast reported Jul 2026

Design an Online Banking System

Let bank customers see their accounts, deposit and withdraw money, move money between their own accounts and read their history, without money ever being lost, created or counted twice.

Practice
System designLast reported Dec 2025

Design a Card Payment Processor

Take card payments for online stores: ask the card network for approval, capture the money when an order ships, and settle every payment into one clear final state even when the network does not answer.

Practice
System designLast reported Oct 2025

Design a Mobile Weather Forecast App

Show phone users the weather and forecast for their places in one quick screen, keep working without a connection, and push severe weather warnings to the people in harm's way.

Practice
Low-level designLast reported Oct 2025

Design a Bank Customer's Credit and Debit Cards

Model one bank customer's checking money, credit lines and the debit and credit cards that spend from them, so every purchase is checked by the right rules and every transaction can be shown in time order.

Practice
System designLast reported Oct 2025

Design the Migration of an Acquired Online Bank

Move every customer and account of an online-only bank that was just bought onto the buyer's banking platform, one group of customers at a time, without losing a cent or a single transaction.

Practice
Project codingLast reported Jul 2024

Accounting Automation Repair

Trial balance reports from a small accounting service come out wrong. Find the bug and repair the service so every balance and total is correct.

Practice
Low-level designLast reported Jun 2024

Design Bank Accounts with Transaction History

Model customers who hold checking, savings, and credit accounts with different rules, plus each account's transaction history: recent transactions, lookup by day, a customer's latest transaction, and a six-month retention cleanup.

Practice
System designLast reported May 2024

Design an Apartment Alarm System

Let residents arm and disarm their apartment's alarm, raise one alarm when a break-in is not disarmed in time, alert residents and the building's security staff within seconds, and notice panels that go silent.

Practice
Project codingLast reported Mar 2022

Recent Events With a Limit per Object

Read the code that builds an object's most recent events from an events table, then change it so the number of events comes from a per-object limit instead of a fixed count.

Practice
System designLast reported Jan 2022

Design a Smart Meter System for Apartment Buildings

Collect a reading from every apartment's electricity meter each minute, show each tenant their own unit's usage, and show building managers floor and building totals, for any past period.

Practice
Project codingLast reported Oct 2020

Simplify a Tangled Late-Fee Waiver Rule

Trace a nested if/else method with three yes/no inputs, build its truth table, fix the combinations that break the waiver policy, and rewrite it as one simple condition.

Practice
System designLast reported Nov 2018

Design Secure Storage for Customer Financial Data

Store customers' card numbers, account numbers and Social Security numbers so each application gets only what it needs, every full-value read is recorded, and a stolen database or credential reveals as little as possible.

Practice
Project codingLast reported Feb 2017

Encrypt Every Customer File in a Folder

Use a supplied file-encryption routine to encrypt every file whose name starts with cust in a folder and its subfolders, without touching the source and without encrypting anything twice.

Practice
Low-level design

Design and Implement a Simple Web Chat

Model and code a small in-memory chat: users, named rooms, membership rules, numbered room messages, and history pages that stay correct while new messages arrive.

Practice

03 · About these questions

Where these Capital One questions come from

Each question on this page is tagged Capital One in FastPrep's problem bank. The report count and month show how often and how recently it was reported from Capital One interviews.

Past reports help you choose what to practice first. They can't tell you which questions, format or platform your own interview will use.

  • Only questions tagged Capital One appear on this page.
  • Each coding question shows its stage and last report date when known.
  • These are not official, private or leaked Capital One questions.

04 · FAQ

Capital One interview questions: FAQ

For hiring news and timelines, see the Capital One hiring insights page.

01What are the stages of the Capital One interview?

The 114 Capital One coding questions on FastPrep come from the online assessment (37 questions), phone screens (10 questions) and onsite rounds (76 questions). Some questions were reported in more than one stage. Stages differ by role, level and date, so check your invitation for your own process.

02What does the Capital One OA look like?

37 of the 114 Capital One coding questions on FastPrep come from the online assessment. By difficulty: 22 medium, 14 easy and 1 hard. Common OA topics: Array, Simulation and String. The latest OA report is from Nov 2026.

03How hard is the Capital One interview?

Most Capital One coding questions on FastPrep are easy. By difficulty, the 114 rated questions are 59 easy, 51 medium and 4 hard.

04What topics come up in Capital One coding interviews?

Across 114 Capital One coding questions, the most common topics are Array (34 questions), String (31 questions), Simulation (30 questions), Hash Table (25 questions) and Math (20 questions).

05What are the most asked Capital One interview questions?

The most reported questions are “Banking System with Top Activity” (24 reports), “Digit-Coded Card Validation” (12 reports) and “Fewest Bills and Coins” (5 reports).

06Does this page cover Capital One CodeSignal practice?

FastPrep currently has 14 Capital One-tagged coding problems with an explicit CodeSignal label and 0 problems with a Codility label. The remaining records do not prove a platform, and hiring processes can change, so follow the platform named in your own invitation.

07Is FastPrep affiliated with Capital One?

No. FastPrep is an independent interview prep site and is not affiliated with Capital One. These are practice questions from FastPrep's problem bank, not official, private or leaked Capital One questions.

08How do you know which stage a Capital One question is from?

Each question's stage comes from the reports behind it. A question can be reported from more than one stage, and the process can change by role, level, location and year, so treat the stage as a guide, not a promise.

09Which Capital One interview stage should I practice first?

The stage named in your invitation or recruiter message. If you don't know the stage yet, start with the stage that has the most questions, then practice explaining and testing your code out loud.

10Can this page tell me exactly what my Capital One interview will ask?

No. Report counts, stages and dates show what came up before and help you choose what to practice first. They can't predict the questions, order, timing or platform of your own interview.

Next step

Pick a question. Solve it end to end.

Start with the stage named in your invitation. Past reports show what came up before, not what you will be asked.

Back to the question list