First round
There were 3 CP questions:
- Maximize XOR score - Given a list of integers - return the maximum XOR score by doing this operation, pick any two integers then find XOR and add to the previous score, and delete one of those two from the list, repeat this till length of list is 1.
- Frog Jump - https://leetcode.com/problems/frog-jump/description/
- Level sum of Binary Trees - Return True if the level sum of a binary tree is in GP (Geometric Progression) else False
Only 6 people were shortlisted from around 200 people for the 2nd round
Technical Interview:
I was asked to code a business problem within 50 min with my screen shared, it was a transaction based,
the code should be able to handle multiple mode of accounts (say Bank account, Splitwise account, and a Paytm account), there should be multiple accounts in multiple modes.
the code should have functions to do transaction, pay a merchant, etc.
the code should also return all the transactions within given query timings.
I started with writing a class, to enable multiple accounts in multiple modes settings, and wrote methods to add mode of account, add a transaction, pay a merchant and return transaction within a time period
I could’ve done better if I implemented the inheritance.
The instructor was super helpful, when I forgot the syntax for class and asked for a hint he was helpful enough to allow me browse the internet for that matter and he also pasted the syntax for a simple class.
That was all for this round, just be confident and speak out your thoughts. Don't panic or get nervous, just think of talking to your old friend or think of talking to a colleague or a peer.
Out of 6, 4 had another technical round (thankfully I wasn’t one of them)
Managerial Round
This was an offline round, I was against the Vice-President.
I was given the intro and he asked me to introduce myself. We discussed few things about my hobbies and some things that are like non-curricular.
Then I was asked 2 questions, for them to analyze my thought process,
“If the renewal of the policies reduced in the last 6 months, what will you do?” - as I was from a Data Science background, this was a pretty easy question for me to answer.
Still I asked for 2 minutes to gather my thoughts and then proceeded to answer.
Safe to say, he was impressed with the answer.
“Imagine you have to buy street lights to place in your college for every 1 meter, how will you approach?” - I started thinking out loud, and gave him the answer. He was not completely satisfied with the answer and asked if I have a more convincing answer, but I had nothing better than that.
Then he proceeded to ask questions like, If I was ready to work in Java
If I was ready for Software Dev
If I was ready to move to Bangalore
That was it for the final round, just be confident and express your thoughts and talk a lot. Try to be in the same page as the questionnaire.
I was one of the 4 selected candidates.