Problem Statement: -
Given GPS co-ordinates(in degrees) of a person who needs a cab and co-ordinates of all the cabs in the city
stored in a text file in JSON
format, find the user-id and name of all the cab drivers available in 50 km proximity.
Input: - file customers.json
which contains GPS co-ordinates of a person who needs a cab in degrees
and co-ordinates of all the cabs in the city stored in a text file in JSON
format.
Output: - file answers.json
which contains user-id and Name of all the cab drivers
available in 50 km proximity stored in a new file.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.