https://www.geeksforgeeks.org/optimum-location-point-minimize-total-distance/