Capital One Software Engineer Coding & Algorithms Interview Questions

Practice 17 real Coding & Algorithms interview questions for Software Engineer roles at Capital One.

17 Questions 1 Company07.21.2026
Showing 17 results
Role
Capital One logo
Capital One
Medium
Software Engineer

Reorder a String by Alternating Its Left and Right Ends

Reorder a String by Alternating Its Left and Right Ends Given a string text, construct a new string by taking characters in this order: 1. first chara...

Coding & Algorithms
18
3
143 people solved
Jul 21, 2026
Capital One logo
Capital One
Medium
Software Engineer

Count Pairs of Cyclically Equivalent Integers

Count Pairs of Cyclically Equivalent Integers Two non-negative integers are cyclically equivalent when their standard decimal strings have the same le...

Coding & Algorithms
6
0
90 people solved
Jul 21, 2026
Capital One logo
Capital One
Medium
Software Engineer

Sort Every Concentric Matrix Border Clockwise

Sort Every Concentric Matrix Border Clockwise Given a nonempty rectangular integer matrix, process each concentric layer independently. For a layer, l...

Coding & Algorithms
7
0
64 people solved
Jul 21, 2026
Capital One logo
Capital One
Medium
Software Engineer

Arrange Match Results in Repeating Win-Draw-Loss Order

Arrange Match Results in Repeating Win-Draw-Loss Order You are given a string containing only W, D, and L. Rearrange all characters into rounds. In ea...

Coding & Algorithms
4
0
41 people solved
Jul 21, 2026
Capital One logo
Capital One
Medium
Software Engineer

Solve four algorithmic coding tasks

You are given four independent coding tasks. They may be solved in any order, and partial test-case credit is awarded for each task. The tasks are rou...

Coding & Algorithms
64
0
434 people solved
Sep 6, 2025
Capital One logo
Capital One
Medium
Software Engineer

Sort Matrix Diagonals By Their Values

Given an n x n matrix of lowercase letters, consider every diagonal that runs from bottom-left to top-right. There are 2n - 1 such diagonals. Assign e...

Coding & Algorithms
3
1
24 people solved
Jul 7, 2026
Capital One logo
Capital One
Medium
Software Engineer

Build a Banking System with Activity Rankings

Build a Banking System with Activity Rankings Problem Implement an in-memory banking system that processes these operations: - CREATE_ACCOUNT account_...

Coding & Algorithms
1
0
19 people solved
Jul 4, 2026
Capital One logo
Capital One
Medium
Software Engineer

Solve powers, phases, grid pops, and swaps

Solve the following four problems: 1) Count powers of k in an array: Given an array of positive integers nums and an integer k >= 1, return how many e...

Coding & Algorithms
11
0
128 people solved
Sep 6, 2025
Capital One logo
Capital One
Medium
Software Engineer

Implement deposit, withdraw, and transfer in a class

Problem Implement a class AccountService that supports basic money operations on accounts. Operations - deposit(accountId, amount) - withdraw(accountI...

Coding & Algorithms
10
0
104 people solved
Dec 25, 2025
Capital One logo
Capital One
Medium
Software Engineer Locked

Remove nodes with a given value

This question evaluates proficiency in singly linked list manipulation, specifically pointer handling and in-place node removal, and falls under the C...

Coding & Algorithms
18
0
176 people solved
Feb 12, 2026
Capital One logo
Capital One
Medium
Software EngineerSenior+

Place Pieces on a Grid

Given integers n and m, and an ordered list figures where each element is one of "A", "B", "C", "D", or "E", construct an n x m integer matrix grid. T...

Coding & Algorithms
5
0
62 people solved
Feb 8, 2026
Capital One logo
Capital One
Medium
Software Engineer

Apply commands to transform a matrix

You are given an integer matrix A of size n × m and a list of string commands to apply in order. Implement the commands and return the final matrix. C...

Coding & Algorithms
13
0
90 people solved
Sep 19, 2025
Capital One logo
Capital One
Medium
Software EngineerSenior+

Count Numbers With Odd Zeros

Given an array a of non-negative integers, count how many elements contain an odd number of digit '0' in their decimal representation. Notes: - Treat ...

Coding & Algorithms
13
0
106 people solved
Jan 20, 2026
Capital One logo
Capital One
Medium
Software Engineer

Solve string merge and grid path tasks

Question Given two equal-length strings s1 and s2, create a new string by iterating i = 0 … n-1, comparing s1[i] with s2[n-1-i]: append s1[i]; if the ...

Coding & Algorithms
76
0
102 people solved
Jul 29, 2025
Capital One logo
Capital One
Hard
Software Engineer

Solve multiple algorithmic interview questions

Below are several independent coding tasks. For each task, implement a function that returns the required output. Assume: - Arrays/lists are 0-indexed...

Coding & Algorithms
12
0
213 people solved
Feb 12, 2026
Capital One logo
Capital One
Medium
Software Engineer

Count ordered pairs that concatenate to target

Given a list of integers numbers and an integer target, count the number of ordered pairs (i, j) with i != j such that concatenating numbers[i] follow...

Coding & Algorithms
15
0
109 people solved
Sep 19, 2025
Capital One logo
Capital One
Medium
Software Engineer

Implement 2D transforms and find max-lit point

Part A — 2D array transforms: Given an m×n integer matrix, implement the following in-place operations with clear function boundaries and complexity: ...

Coding & Algorithms
5
0
85 people solved
Sep 6, 2025

Explore more Capital One Software Engineer interview questions

Real questions from candidate reports, grouped by topic.

Browse all