Simple Bank System at HubSpot
Medium69.8% acceptance
This problem has 75.0% frequency at HubSpot.
Problem Description
You have been tasked with writing a program for a popular bank that will automate all its incoming transactions (transfer, deposit, and withdraw). The bank has `n` accounts numbered from `1` to `n`. The initial balance of each account is stored in a **0-indexed** integer array `balance`, with the `(...
Read full problem and hintsTopics
Also asked at 19 companies
More HubSpot Questions
Merge Sorted ArrayEasyTwo SumEasyMaximum Number of Occurrences of a SubstringMediumMerge IntervalsMediumTop K Frequent ElementsMedium
View all HubSpot questions