Booking.com interview question

Technical: To calculate the distance between two points