Experience: 5+
Position: SMTS at Salesforce
Location: Bengaluru
Date: Oct
Laptop is a must. Interviewers will share a hackerrank link where both can see each others code.
Round 1: (Coding) 1 hr (Taken by SMTS - SDE2)
- Q1: Number of Islands (Leetcode)
- Q2: Number of Closed Islands (Leetcode) (Follow Up)
- Q3: Given a string consisting of only characters a, b and c. Find the minimum characters to insert to make the final string of the pattern "abcabcabc"
3 medium questions in 1hr. So you get 20min per question. Time is key.
Just needed to briefly explain brute force and get to the efficient solution then explain time complexity, space complexity.
After which you need to implement the solution and also write manual inputs to execute the code.
Interviewer can give edge cases, which you need to run. The lesser the errors, the better the impression.
Round 2: (LLD) 1.5 hr (Taken by LMTS - SDE3)
- Design an In-memory file system
- We are only required to write the class structure - either on whiteboard or on laptop whichever is comfortable.
- Follow ups will be asked for including additional requirements later on, so make sure your design is easily extendable.
- Follow ups
- Efficiently searching file system
- Handling user permissions, group permissions
- Listing the files in folder similar to what "ls" command does in linux
- Brushing up on design patterns really helps
I had given inefficient solutions initially for the follow ups, but the interviewer asked me to come up with better ones, which I did after thinking for a while.. Thank god :)
Hiring Manager Round: 45min
- Self and HM Introduction
- Explain the most recent project you've worked on.
- If you were to re-do the whole thing without any constraints like money, deadlines, resources etc.. what would you do differently?
- He wanted to check whether I did my research about different existing solutions and questioned everything before I started my work on that project. Luckily I did :)
- Follow up on the solution for above question
- How would you make sure a system doesn't regress?
- How would you check for performance metrics?
- How would you go about identifying a failure in a system?
- Why do you want to join Salesforce?
- What are you expecting to get back from Salesforce?
- Detailed explanation about org and the work that they do.
This round was very smooth. The HM was very friendly.
Most questions asked were revolving around my past work and my knowledge in that area and how I could improve them.
Result: Selected