Flipkart SDE-2 Interview Experience
Round 1: Machine Coding Round
Design offerRide and shareRide mechanism on basis of fastest and earliest ride
Create a application that will add user and add their vehicle, there will be two categories one who is offering ride and other who is selecting ride.
In offer ride(user_name, vehicle_no, origin, destination, start_time, duration)
select_ride(user_name, origin, destination, parameter)
parameter is fastest ride which will be on shortest duration and earliest ride will be lesser start_time+duration.
2)Find all possible interpretations
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon. Google and Microsoft Test Serieses.