Booking holdings | SDE-2 | Bangalore | Selected
Anonymous User
7920

Applied via linkedIn(didn't think I would get shortlisted as the job posting had our 1000 applicants), recruiter reached out with a hackerrank test.

Hackerrank test
It was a spring boot project with h2 database that I had to clone and implement three simple apis in a hotel management service, I had to check how the new apis would effect the old existing one. It was quite simple, the apis were something like add a hotel, get nearest 10 hotels based on distance. I was allowed to use external libraries to calculate distance using the mathematical formulae.

Recruiter reached out after a week saying that I had cleared it and then wanted to schedule 3 in person onsite interviews all in the same day.

Round 1
You are given a list of transactions, currency conversion rates, exchange fee and exchange fee currency. Each transaction is of the type pay in and pay out each with amount and the currency. Whenever a payout happens you have to check whether you have enough amount of the currency requested, otherwise you have to check whether you have any other currency wallet with enough money, in this case you will have to pay an exchange fee. Your job is to minimize the exchange fee.

Round 2

It was a design round, first I was given two scenarios :
User -> booking system -> hotel

  • Payment is handled by booking system.
  • Booking passes the payment info to hotel and hotel is responsible for the payment.

I had to give advantages and disadvantages of both the methods.

For actual design, I had to design a system which handles different payment schemes (eg : where you are allowed to pay 20% now 50% on checkin 30% on checkout). You have a third party payment gateway that accepts card details and amount and will debit the card. So everything related to payment history etc had to be handled by our system.

Round 3
It was cultural fit round with an engineering manager, there were no technical questions, just a lot of general questions of the format : what would you do?, describe a situation? etc.

Recruited told me in the office that I had been selected.

Compensation details : https://leetcode.com/discuss/compensation/4044692/booking-holdings-sde-2-bangalore

Comments (7)