Google | SDE | India | Nov 2021 [Rejected]
Anonymous User
849

Technical phone screen (1 hour):

  • Behavioral questions: ( ~15 mins)
  • Algorithm question: Given bank names and continuous range of bank accounts in the banks, find the bank name for a given account number. (Need to accept data in a custom datastructure)

Eg:
DataSet:
BankA- {101,102,103....}
BankB- {104,105,106....}

Find bank name for account number "105" ?

Follow up: suggest solution if bank account number is not a continuous range

[ Suggest approaches . I will post my approach in the comments]

Comments (2)