capitalone logo
Capital One· New Grad

CapitalOne OA for New Grad [September 2026]

Posted
21 Sept 2026
75 reads

Summary

I completed the CapitalOne online assessment for a New Grad position in September 2026, which included four coding questions.

How it went

Question 1. You are given an array. Sort by pairs, but if the array length is odd, dont touch the final number. Example: Input [5,4,2,3,7] Output [4,5,2,3,7]

Question 2. LC 3034. Number of Subarrays That Match a Pattern I

Question 3. I do not remember

Question 4. LC 2021, Brightest Position on Street

Questions asked (3)

  1. 01

    Sort Array by Pairs with Odd Length Exception

    Data Structures & Algorithms

    Given an array, sort the elements in pairs (swap each adjacent pair). If the array length is odd, leave the last element unchanged.

    Example:

    Input: [5,4,2,3,7]
    Output: [4,5,2,3,7]
  2. 02

    Number of Subarrays That Match a Pattern I

    Data Structures & Algorithms

    LeetCode problem 3034: Number of Subarrays That Match a Pattern I.

  3. 03

    Brightest Position on Street

    Data Structures & Algorithms

    LeetCode problem 2021: Brightest Position on Street.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Capital One recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!