Had online interviews on 2nd Dec.
OA screening:
Had to solve 2 questions of medium difficulty on hackerrank in 60 mins. The time constraint was very tight for me, but managed to solve both questions completely in 60 mins.
Onsite round 1:
- https://leetcode.com/problems/powx-n/ - First gave the simple linear complexity solution, then was asked to optimize the solution . Many questions related to time complexity of optimized solution.
- https://leetcode.com/problems/populating-next-right-pointers-in-each-node/ - Followup of constant space was also asked
Onsite round 2:
- https://leetcode.com/problems/count-the-number-of-infection-sequences/
- DP problem which I can't recall right now, will update this post if I am able to.
Onsite round 3:
System design - Started with general discussions of some desgn principles and then was asked to design a system which stores employee and their dependants info i.e a employees family info. The system should be able to return the whole family's data when provided with an employee id or even a dependant id.
Next day the Hiring Manager round was scheduled.
HM round:
- Went through all my previous projects in very detail.
- Some general behavioural questions were also asked.
- The question of why I'm leaving current company was also asked and debated for about 5 mins
Got offer in about 10days. Offer details https://leetcode.com/discuss/compensation/4704368/Salesforce-or-SMTS-or-Indiaor-Dec23


