You are viewing a single comment's thread. Return to all comments →
def flatlandSpaceStations(n, c): maxd=[] for i in range(n): cityd = min([abs(c1-i) for c1 in c]) maxd.append(cityd) # if cityd>maxd: maxd=cityd return max(maxd)
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 →