You are viewing a single comment's thread. Return to all comments →
def flatlandSpaceStations(n, c): c.sort() for i in range(len(c)): if i==0:a=c[i] if i==len(c)-1: a=max(n-1-c[i],a) break a=max((c[i+1]-c[i])//2,a) return a
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 →