Capital One OA - 4 questions on CodeSignal, finished 3 properly
Capital One OA - 4 questions on CodeSignal, finished 3 properly
Result: Pending Number of Rounds: 1
Got an OA invite about a week after applying. It's on CodeSignal with camera and microphone required. Have your ID ready to upload before starting because the verification step takes a few minutes and eats into your time if you're not prepared.
70 minutes for 4 problems. Score breakdown is 1200 total, 300 each, about 20 test cases per question.
Q1 was the symmetric triplet count. Given a string, count triplets where first and last characters match case-insensitively. Quick, maybe 8 minutes.
Q2 was a matrix operations problem. Given an n×m matrix and a list of commands: reverseRow, swap rows, rotate 90° clockwise. Implementation-heavy but no tricks. About 15 minutes.
Q3 was the battery charging problem. Phone runs for T minutes, batteries with capacities and recharge times cycle in a queue, find minimum batteries needed. Got the logic but edge cases took a while. Spent 25 minutes here.
Q4 was the integer pair concatenation. Given a list and a target string, count ordered pairs whose concatenation equals it. Had the concept but ran out of time debugging a hash map issue on duplicates. Left it at maybe 85% coverage.
Final score around 920/1200. Not sure what the cutoff is. Waiting to hear back.
3 YOE
Replies (5)
Q4 always trips people up. The duplicate handling in the hash map is the exact edge case they're testing.
Yeah I had the right idea but just didn't get there in time. 85% is probably close enough I hope.
Good luck. Results usually come in about 3 days from what I've seen.
The 6-month cooldown if you fail is the worst policy. No pressure at all, right?
Did Q3 pass all test cases or partial?
Full credit on Q3, all test cases passed. That one I got.
920/1200 should be fine in my experience. Similar score and moved on to the next round.