Feature #8: Optimal Path
Implement the "Optimal Path" feature for our "Uber" project.
We'll cover the following
Description
Uber is one of the most popular ride-hailing applications. It provides a choice of a variety of vehicles to the passengers that use it for transport. Uber always uses an optimal path to save its passenger’s time. The terrain is represented as a 2D grid. A passenger waits on one end of the grid and a driver is present on another end. This feature will show us how to find the optimal path for the driver to get to the passenger.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.