Capital ONE Array Coding Interview Questions
18 array coding problems are tagged as asked at Capital ONE in interviews and online assessments reported by candidates. By difficulty they split into 5 basic, 9 intermediate and 4 advanced. The topics they most often combine with are Sliding Window, Prefix Sum, Sorting, Counting Sort.
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)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Sort Colors (Basic)
- Largest Rectangle in Histogram (Advanced)
- Merge Intervals (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- LRU Cache Operations (Basic)
- Remove Boxes (Advanced)
- Grumpy Bookstore Owner (Intermediate)
- Memory Allocator (Intermediate)
- Restore Array From Adjacent Pairs (Intermediate)
- Monotonic Array (Basic)
- Maximum Running Time of N Computers (Advanced)
- Number of Flowers in Full Bloom (Advanced)
Related
- Capital ONE coding interview questions
- Array problems
- Capital ONE basic problems
- Capital ONE intermediate 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.