Engaged employer
Round 1 (Machine Coding Round)(90 mins): Give a brief about your projects Problem statement: Digital wallet implementation There are several functionalities need to be implemented. All the test cases should pass. functionalities to implement: --> create wallet(accountholder, amount) //creates wallet and initialise balance --> transferMoney(acc1, acc2, amount) // transfer money from acc1 to acc2 --> statement(acc) // type of transfer(credit/debit), fromacc/toacc, amount --> offer1 --> acc_bal1 == acc_bal2 // after transaction if both acc bal are equal, then both are credited with 10/- --> offer2 --> 3 top customers --> 10 , 5, 2 (no of trans, acc_bal, creation_time) // top3 customers based on priority mentioned gets 10/-,5/-,2/- --> Overview(acc[]) // accholer, balance of all the customers After executing, interviewer asks for code walkthrough. PFA my answer for above problem.
Check out your Company Bowl for anonymous work chats.