You are viewing a single comment's thread. Return to all comments →
def flatlandSpaceStations(n, c): return max([min([abs(i-j) for j in c]) for i in range(n)])
Seems like cookies are disabled on this browser, please enable them to open this website
Flatland Space Stations
You are viewing a single comment's thread. Return to all comments →
def flatlandSpaceStations(n, c): return max([min([abs(i-j) for j in c]) for i in range(n)])