Capital ONE Coding Interview Questions
34 coding problems are tagged as asked at Capital ONE in interviews and online assessments reported by candidates. By difficulty they split into 11 basic, 18 intermediate and 5 advanced. The topics they most often combine with are Array, String, Sliding Window, Two Pointers.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Capital ONE tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Two Sum (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Valid Parentheses (Basic)
- Longest Substring Without Repeats (Intermediate)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Longest Palindromic Substring (Intermediate)
- Sort Colors (Basic)
- Largest Rectangle in Histogram (Advanced)
- Merge Intervals (Intermediate)
- Count Palindromic Substrings (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Add Strings (Basic)
- LRU Cache Operations (Basic)
- Reconstruct Itinerary (Advanced)
- Text Justification (Intermediate)
- Binary Tree Paths (Basic)
- Number of Islands (Basic)
- Remove Boxes (Advanced)
- Simplify Path (Intermediate)
- Rotate Image (Intermediate)
- Grumpy Bookstore Owner (Intermediate)
- Letter Combinations of a Phone Number (Intermediate)
- Memory Allocator (Intermediate)
- Minimum Time Difference (Intermediate)
- Restore Array From Adjacent Pairs (Intermediate)
- Rotating the Box (Intermediate)
- Monotonic Array (Basic)
- Maximum Running Time of N Computers (Advanced)
- Number of Flowers in Full Bloom (Advanced)
- Fizz Buzz (Basic)
- Alternating Digit Sum (Basic)
Related
- Capital ONE basic problems
- Capital ONE intermediate problems
- Capital ONE Array problems
- Capital ONE String problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Capital ONE problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Capital ONE interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.