Company: Salesforce
Position: SMTS
Location: Hyderabad, India
Years of experience: 8+
Interview Experience
Recruiter phone screen:
Mainly questions around my experiences and past projects.
Why I want to join booking.com etc.
Coding phone screen:
Find the top K largest files when you are given three apis and root path:
boolean isFolder();
List<String> listFiles(String path);
double size(String path);
// function to complete
List<String> topKLargestFiles(String root){
}Returns final output as ["a/b","a/b/d"]
Onsite:
System design: Design a scalable system to create a feature where a user looking at a property on booking.com can see how many other users are also looking at the same property.
Coding: Find the top K closest hotels within a price range. In the input grid 0 means a blocker which you can't pass through, 1 means road which you can use to navigate, any value above 1 is the price of the hotel located at x,y. You will be given this grid, price range and origin coordinates. You should return K hotels within price range and closest to the given origin.
Input:
[[1,2,0,1],
[1,3,0,1],
[0,2,5,1]
]Fit/Commerical awareness interview: Questions around past experience, motivation to join booking.com, mentorship experience, disagreement with peers/leads, metrics used to measure the success of a feature, situational questions like of amazon leadership principles with lot of follow ups etc.
Result: I was approached by the recruiter the same of the last round and got to know that I got a strong positive feedback. Yet to receive the compensation numbers. I hold an offer from Amazon at this point of time and shared my experience including preparation journey on this link.
https://leetcode.com/discuss/interview-experience/1173968/Amazon-or-SDE2-or-Luxembourg-or-April-2021-Offer
Thank you!!