Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The empty interval problem applies to integers too: [15,15) and (15,15] are empty, [x,y] is not for any x and y.


for any x>y [x,y] is empty, i.e. [15,14]

an interval is a set and sets can be empty [x,y) = { z where x<=z and z<y }




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: