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

Seventh hour is everything between 6:01 and 6:59, yes.


Yes.

That is why half open sets, half open intervals, are convenient.

If a bus leaves every 10 minutes starting at 1 PM, how many buses leave per hour ? Do we include the 2PM bus in the first hour ?

It helps to cover the space by non-overlapping equal intervals.

Shows up in 0 indexed for loops as well i < n


Everything between 6 and 7, right? ;)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: