Arrays & Strings: Two Sum, Reversals & Palindromes
These five problems come from Bank of America live technical rounds between 2019 and 2024, mostly campus and trainee loops in India. Each takes a few minutes to code. The rest of the slot goes to whatever the interviewer asks next, usually a manual version of something a built-in does, another approach, or the complexity.
The newest two come from the same December 2024 trainee loop in Chennai. For the string work candidates met in late 2025, start with Warm-Ups, Strings & SQL, which has the November 2025 problem of reversing each word of a sentence in place. Reversing a whole string is the most repeated problem on this page, with four reports from 2019 to October 2023.
Bank of AmericaPremium lesson · Coding round
The 5 Bank of America problems are below.
- A Premium questionCoding · Easy
- A Premium questionCoding · Easy
- A Premium questionCoding · Easy
+ 2 more in this lesson
Each with hints, the follow-up and a tested solution.
Get the Bank of America questions$49 a year · all 108 companies · instant access
20,000+ candidate reports
Bank of America interview guideKnow what Bank of America asks before you walk in.
32 coding · 5 system design · 43 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.