InterviewLegend

The HireVue Online Assessment

Alex Chen45 min readGuide updated
In this lesson
  • Know the HireVue format: about five prompts, two coding problems and a recorded explanation
  • Plan the 90 minutes and the explanation video before the timer starts
  • Solve the five problems reported from 2021 to 2026 in runnable Python
  • Explain an approach on camera, from brute force to the final version

For technology roles, the Bank of America online assessment is a recorded HireVue interview, and for many applicants it includes coding. You never meet a person. The platform shows a prompt, you record an answer or write code against a timer, and the next prompt appears. Campus and early-career candidates have described the same shape from 2020 through late 2025.

Where you apply changes what you get. Bank of America's own student page calls its on-demand video interview "primarily behavioral and open ended", and two New York candidates in November 2025 had no coding anywhere in the process. The coding version shows up most in India and Singapore reports, and a US intern described three recorded technical questions in December 2024. Prepare for both. If coding appears, expect problems like the five below.

The Bank of America angle
The explanation video is graded too. Most versions end with a recorded prompt asking how you solved the second coding problem and what it costs. A 2022 candidate was later asked in a live round to recall those same problems and reduce their complexity. Code you can't explain is worth less than it looks.

What the Bank of America HireVue coding interview looks like

  • Prompts: About 5. Usually a self-introduction or fit video, two coding problems and an explanation video. A 2021 campus version ran three videos and two coding problems.
  • Coding: 2 problems, easy then medium. An October 2025 India campus drive had an easy array problem and a medium linked-list problem. A November 2025 Hyderabad fresher got two easy ones.
  • Time: About 90 minutes. Reports from 2020, 2021 and 2025 give 90 minutes in total. One 2022 candidate had separate timers, 20 minutes for the easy problem and 70 for the medium.
  • Language: Your choice. Candidates have used C, C++, Java and Python. Java questions dominate the live rounds that follow in India.

Each video prompt gives you a short think and a fixed answer window. Bank of America's US page says 30 seconds to prepare and up to three minutes per answer, about 20 to 30 minutes in all. A November 2025 Hyderabad fresher had 90 seconds to prepare and three to five minutes to answer. Nobody is on the other end, so there are no follow-up questions.

Candidates in 2025 call it an "AI interview" or, in the words of the October 2025 India drive, a "90-minute AI-proctored virtual assessment conducted via HireVue". That describes the proctoring. No report says you may use AI tools, and Bank of America publishes no rule allowing them, so treat the whole sitting as closed book. Some older India campuses ran the same format on HirePro in 2021 and 2023, and one 2021 window stayed open for 48 hours before you started.

The coding counts toward the cut. At a 2023 India campus drive, 171 of 300 candidates moved on, and the candidate wrote that "those who had cleared the coding questions got shortlisted." A 2019 portal told candidates that a complete slow solution beats an efficient one that doesn't finish. Get something correct on the board first.

How to record the explanation video

A 2020 prompt spelled out what the explanation should cover: "Explain the approach you used to solve the 2nd coding question. Also include corner test cases. (Explain from Brute, better to optimal solution)." Later versions word it differently, and a 2025 drive had the system pick which prompt you'd get. Plan for that 2020 version anyway, since it asks for the most.

So while you code, keep three notes beside the editor. Write down the slow version you rejected and why, the edge cases you tested, and the time and space of what you shipped. When the recording starts, walk those notes in order. Two or three minutes goes quickly. A plain sentence per step beats a rushed tour of every line.

Say the complexity as a reason, never a bare symbol. "Linear, because each value is checked once" lands better than "O(n)" on its own. Then name one input that would break a careless version, like an empty pattern or a payment smaller than the price.

Asked at Bank of America

These are the Bank of America video interview coding questions from 2021 to 2026, newest first. A June 2026 software engineer intern OA asked for something like making change from a price and a payment, by denomination name. The Summer 2027 Global Technology OA, which candidates sat during 2026, had one coding problem, and candidates mention an easy array task, Pascal's Triangle and a much harder 24 Game prompt.

Reports run back to 2021. Summing the numbers from 1 to N while skipping multiples of 5 or 7 has three reports, from September 2021 to November 2025. The November 2025 Hyderabad fresher also got a substring check where a star is a wildcard that can be escaped. The October 2025 India campus drive didn't name its easy array and medium linked-list problems. Older OA problems, like string beauty scores and a Premium question, are in Older Practice Problems.

Make change by denomination name

This is the newest problem, from a June 2026 software engineer intern OA. You get a price and a payment as exact decimal strings plus a set of named coins and bills. You return an error or zero status when one applies, otherwise the names of the change in alphabetical order, with no floating point. The input format on the day may differ a little from the one below, but the cents logic doesn't change.

1

Make Change by Denomination Name

EasyCommonly asked
Problem
A cash register takes a price and a payment, both decimal strings like "15.94", "16" or "3.5". It also takes denominations, which maps each coin or bill name to its value as a decimal string, so PENNY maps to "0.01" and FIVE to "5.00".

Return "ERROR" if the payment is less than the price and "ZERO" if it's exactly equal. Otherwise hand back the change by always taking the largest denomination that still fits. Return one name per coin or bill, sorted alphabetically and joined with commas, like "DIME,PENNY,PENNY".

Work in whole cents. Never turn a price into a float.
Inputprice = "15.94"payment = "16.00"denominations = {"PENNY": "0.01", "NICKEL": "0.05", "DIME": "0.10", "QUARTER": "0.25", "ONE": "1.00", "FIVE": "5.00", "TEN": "10.00", "TWENTY": "20.00"}Output"NICKEL,PENNY"

The change is 6 cents. A nickel fits first, then a penny, and the names sort to NICKEL before PENNY.

How this uses the pattern

Parse each string into an integer number of cents. Walk the denominations from largest to smallest and take each one while it fits, then sort the names.

Write it here, or go full screen with the problem, hints and solution beside the editor.

Make Change by Denomination Name

Loading...
Click "Run" to execute your code
The Bank of America angle
Keeping floats away from money is everyday work at a bank. In Python, 16.00 - 15.94 is 0.0600000000000005, and a greedy loop on that number hands out the wrong coins. Parsing the string straight into cents avoids the problem, and it makes a good line for the explanation video.
Take it further
Coins where greedy fails. With coins worth 1, 3 and 4 cents, greedy pays 6 cents as 4 + 1 + 1, though 3 + 3 uses fewer coins. If the follow-up asks for the fewest pieces, switch to dynamic programming. Keep fewest[amount] for every amount up to the change, fill it from the smaller amounts, and remember which coin each step used so you can rebuild the names.

Pascal's Triangle

Pascal's Triangle is one of the problems candidates mention from the Summer 2027 Global Technology OA, sat during 2026. One candidate there called their problem LeetCode Easy, and this is the classic easy one. It's short, so the explanation video is where you can add the most. Practice saying why each row comes from the one above.

2

Pascal's Triangle

EasyCommonly asked
Problem
Given an integer num_rows, return the first num_rows rows of Pascal's Triangle as a list of lists.

Every row starts and ends with 1. Each value inside a row is the sum of the two values directly above it in the previous row. When num_rows is 0, return an empty list.
Inputnum_rows = 5Output[[1], [1, 1], [1, 2, 1], [1, 3, 3, 1], [1, 4, 6, 4, 1]]

The 6 in row five is 3 + 3 from the row above it.

How this uses the pattern

Build each row from the previous one. The ends are 1, and every inside value adds the two neighbors above it.

Write it here, or go full screen with the problem, hints and solution beside the editor.

Pascal's Triangle

Loading...
Click "Run" to execute your code
The Bank of America angle
The same 2026 test also served the far harder 24 Game, so the difficulty you draw is luck. Finish this one quickly and cleanly, with the edge rows handled. Then spend the spare minutes on a short, clear explanation, because that recording is where an easy problem can still stand out.
Take it further
Return only row k. A common follow-up asks for a single row in O(k) extra space. Keep one list and update it from right to left, so each value adds its left neighbor before that neighbor changes. It's worked below.

The 24 Game

The 24 Game was the harder prompt on the same 2026 Global Technology OA, and it's well above everything else here. That test had one coding problem, so you'd see one or the other. If this is the one you draw, the search below fits in about 20 lines, and getting it running is worth more than a perfect explanation of a version that doesn't work.

3

24 Game

HardCommonly asked
Problem
You get cards, a list of four integers, each from 1 to 9. Return true if you can combine all four with +, -, * and / and any parentheses to make exactly 24, and false otherwise.

Division is real division, so 8 / 3 keeps its fraction and never rounds. Each card is used exactly once. You can't join cards into a two-digit number or put a minus sign in front of a card.
Inputcards = [4, 1, 8, 7]Outputtrue

(8 - 4) * (7 - 1) = 24.

How this uses the pattern

Pick any two numbers, replace them with one result of an operation, and recurse on the shorter list. One number left means you check it against 24.

Write it here, or go full screen with the problem, hints and solution beside the editor.

24 Game

Loading...
Click "Run" to execute your code
The Bank of America angle
This one is a backtracking search. Four cards never make more than a few thousand combinations, so trying every one of them is the intended answer. In the video, say that bound out loud, then explain why exact fractions matter for inputs like 3, 3, 8, 8.
Take it further
Return the expression. A natural extension asks for one formula that makes 24, or null. Carry a string beside each number, build "(" + left + " * " + right + ")" as you combine, and return the string that reaches 24. The search stays the same, and each list entry becomes a pair of value and text.

Sum from 1 to N, skipping multiples of 5 or 7

This is the most repeated OA problem, with three reports in all. A September 2021 India campus test asked for the numbers from 1 to N that aren't divisible by 5 or 7, read as strings, one test case per line. A 2024 internship video interview asked for their sum. In November 2025 the Hyderabad fresher summed 1 to n while skipping only multiples of 7. The version below takes the divisors as input, so it covers all three.

4

Sum Skipping Multiples

EasySignature problem
Problem
Given a positive integer n and a list of positive integers divisors, return the sum of the whole numbers from 1 to n, inclusive, leaving out every number divisible by at least one of the divisors.

For the 2024 version, divisors is [5, 7]. For the November 2025 version, it's [7].
Inputn = 10divisors = [5, 7]Output33

1 + 2 + 3 + 4 + 6 + 8 + 9 = 33. Five, seven and ten are left out.

How this uses the pattern

Loop from 1 to n and add each number that no divisor divides. For a huge n, subtract the multiples with inclusion and exclusion instead.

Write it here, or go full screen with the problem, hints and solution beside the editor.

Sum Skipping Multiples

Loading...
Click "Run" to execute your code
The Bank of America angle
This problem has run since 2021 in three forms: print the survivors, sum them, sum with one divisor. Expect the wording and the input format to shift. The 2021 test read each N as a string on its own line, so convert it before you loop, and check the 10 to 33 case before you submit.
Take it further
N up to a billion. A loop to 10^9 times out. Count the multiples of 5 with the formula 5 * m * (m + 1) / 2 where m = n // 5, do the same for 7, and add back the multiples of 35 that you subtracted twice. With a list of divisors, add and subtract over every subset using their lowest common multiple. It's worked below.

Wildcard substring match with escapes

A November 2025 Hyderabad fresher got this as the second of two easy problems, and the video after it asked for the approach. You check whether one string appears inside another, where a star stands for any run of characters and can be escaped to mean a literal star. Here a backslash is the escape character. If yours uses another, the logic is the same.

5

Wildcard Substring Match With Escapes

MediumCommonly asked
Problem
Given text and pattern, return true if the pattern matches some substring of text, and false otherwise.

In the pattern, an unescaped * covers any run of characters, including none. A backslash makes the next character literal, so \* stands for a real star and \\ for a real backslash. A lone backslash at the very end of the pattern counts as a backslash. Every other character matches itself, and an empty pattern always matches.
Inputtext = "hello world"pattern = "wor*d"Outputtrue

The substring "world" matches, with the star covering "l".

How this uses the pattern

Split the pattern into literal segments at each unescaped star. Then find each segment in order, each search starting where the last match ended.

Write it here, or go full screen with the problem, hints and solution beside the editor.

Wildcard Substring Match With Escapes

Loading...
Click "Run" to execute your code
The Bank of America angle
An easy-rated problem with a twist that sinks a quick regex answer. Escapes mean you can't just call split on the star, and a substring match means the pattern floats anywhere in the text. Parse the pattern into literal pieces first, then search. That two-step split is also an easy story for the explanation video that follows.
Take it further
Match the whole string. If the follow-up drops the "substring" part, the first segment must sit at the start of the text and the last one at the end. Check those two anchors with startswith and endswith, make sure they don't overlap, and run the same in-order search on the middle segments.

Common questions

Does the Bank of America HireVue have coding questions?

Often, for technology roles. Most India campus reports from 2020 to 2025 describe two coding problems inside the HireVue, and Singapore reports describe the same. US reports are mixed. A US intern had three recorded technical questions in December 2024, while two New York candidates in November 2025 had no coding at all. Bank of America's own page calls the video interview mainly behavioral, so prepare for both.

How long is the Bank of America online assessment?

The coding version runs about 90 minutes in reports from 2020, 2021 and 2025. A 2022 report split it into 20 minutes for the easy problem and 70 for the medium. The video-only version is shorter: the official page puts it at about 20 to 30 minutes, with 30 seconds to prepare and up to three minutes per answer.

What HireVue questions come up in 2026 and 2027?

For the Summer 2027 Global Technology OA, sat in 2026, candidates mention one coding problem: an easy array task, Pascal's Triangle or the 24 Game. Alongside the code, expect a self-introduction and a fit question. "Why Bank of America?" comes up often across the whole process. The behavioral lesson covers those video answers.

Is the BofA OA hard?

Mostly easy to medium. The 2025 reports call the problems easy, or one easy and one medium, and the problems above are short. Only the 24 Game stands apart, a hard search problem that turned up once in the 2026 season. Most of the pressure comes from the clock and the explanation video, so practice solving and then explaining each problem aloud in under three minutes.

Which programming language should I use?

The one you write fastest. Candidates pick their own language, and reports show C, C++, Java and Python. If you're applying in India, know that the live rounds after the OA lean hard on core Java, collections and Spring Boot, so Java practice pays twice. The process overview covers those rounds.

Key Takeaways

  • ✓The Bank of America HireVue has about five prompts: two coding problems, easy then medium, between recorded videos.
  • ✓The last video asks for your approach, edge cases and complexity. Keep notes while you code.
  • ✓Work in exact integers or fractions. Make change in cents, and keep 24 Game divisions exact.
  • ✓Most reported problems are short classics. A complete, correct answer beats a clever one that never finishes.
Bank of America interview guide

Know what Bank of America asks before you walk in.

32 coding · 5 system design · 43 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

What Bank of America Tests in CodingHad your Bank of America interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.