Minimize total distance to a store | Ge Interview Question