Meesho | SDE2 | Machine coding

meesho logo
meesho
SDE IIRejected
December 30, 20230 reads

Summary

I interviewed for an SDE2 role at Meesho, where I tackled a machine coding challenge to design a ride-sharing application. Despite implementing the core functionalities and demonstrating design patterns, I was ultimately rejected.

Full Experience

During my SDE2 interview at Meesho, I was presented with a machine coding problem: to design a ride-sharing application. I implemented the core features including drivers publishing rides, riders searching (with an earliest strategy), and booking rides. I also added bonus functionalities to show user-specific ride histories. My solution involved designing classes for User, Vehicle, and Ride, along with a RideManager implemented as a singleton to handle concurrency. I mentioned the possibility of using a factory pattern for selection strategies but couldn't implement it due to time constraints. Unfortunately, my interview resulted in a rejection.

Interview Questions (1)

Q1
Design a Ride Sharing Application (Machine Coding)
System DesignMedium

Design a ride sharing application with the following core functionalities:

  • Driver can publish a ride.
  • Rider can search for a ride based on strategies such as shortest, fastest.
  • Rider can select a ride.
Bonus features:
  • Show all rides taken and published by a user.
  • Calculate fuel saved.

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!