Tip 1 : Practice Atleast 200 Questions
Tip 2 : Practice company specific interview question
Tip 3 : Prepare resume nicely
Tip 1 : Prepare resume very nicely.
Tip 2 : don't mention any tech stack you are confident of.
it was morning 10AM-12
friendly environment given by the interviewer
It was machine coding round, the problem statement was to create a online food ordering system with various features.
interviewer was good and supportive
Create a online food ordering system with various features:
Restaurants can only serve one specialized dish.
Restaurants can serve in multiple areas.
At a time, users can order from one restaurant, and the quantity of food can be more than one.
Users should be able to rate any restaurant with or without comment.
Rating of a restaurant is the average rating given by all customers.
Tip 1 : Practice machine coding very much
Tip 2 : read question thoroughly, don't assume anything without cross checking
Tip 3 : try to implement mandatory requirements before jumping to bonus and all
timing noon 3-4Pm
good interviewer
interviwer was giving hints if required and all
Input: 'arr' = [2, 2, 2, 2, 0, 0, 1, 0]
Output: Final 'arr' = [0, 0, 0, 1, 2, 2, 2, 2]
Explanation: The array is sorted in increasing order.
Tip 1 : Practice array traversals and pointers
Tip 2 : try to optimise always
Tip 3 : being with brute force approach and slowly remove the repetition in approach
For the given tree:
The path 1 -> 3 -> 7 produces the maximum i.e, 11.
Tip 1 : Practice tree traversal and variations of tree traversal
Tip 2 : practice tree recursion and how it save data throughout iteration
Tip 3 : do as much question of tree as possible
evening 4-5:30PM
interviewer was good
very supportive and giving hints
design bookmyshow to book movie tickets
LLD
How to approach :
First write down all the features, discuss the features with the interview thoroughly.(there are no obvious features, whatever is discussed design that only).
Start designing table/class schema, list down the tables which will be required with all the columns and how these are mapped. You should be able to defend your db design. your db should follow the DB normalisations forms. your db should be able to complete all the feature discussed in point 1.
Write down the APIs required, only the names like POST /user/signUp (name,,……) like this.
Be very clear with design and explain nicely
HLD
Once I was done with LLD the interviewer asked me to create HLD for the same.
Divide the services if possible, like user service is diff from cinemaService etc..
Use Kafka queues to connect the services together.
See Gaurav sen’s YouTube video that will also help
4-5 PM
Interviewer was good
Why should we hire you?
Tip 1 : be confident and practice all HR question beforehand
Why are you switching?
Tip 1 : be sure about the reasons of switching and prepare all type of questions
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which operator is used for exponentiation in Python?