Captial One OA
- Posted
- 19 Feb 2026
Summary
I recently took the Capital One Online Assessment which included a mix of easy, medium, and hard LeetCode-style questions, successfully completing it within one hour.
How it went
Q1: Too eazy, count the lower letters and upper letters in a string Q2: looks like 871 Refueling Stops Q3: a variation of 68 Text Justifications Q4: 2672. Number of Adjacent Elements With the Same Color
two hard question and one med question in 1hour test, great job, C1
Questions asked (4)
- 01
Count Lower and Upper Letters in a String
Data Structures & Algorithms · Easy
Count the number of lowercase letters and uppercase letters in a given string.
- 02
Refueling Stops
Data Structures & Algorithms · Hard
Open the problemLooks like LeetCode problem 871: Refueling Stops.
- 03
Text Justification Variation
Data Structures & Algorithms · Hard
Open the problemA variation of LeetCode problem 68: Text Justification.
- 04
Number of Adjacent Elements With the Same Color
Data Structures & Algorithms · Medium
Open the problemLeetCode problem 2672: Number of Adjacent Elements With the Same Color.