Hacker News new | past | comments | ask | show | jobs | submit login

Your code has two comparisons; one to figure out which one starts first, and another to figure out whether the first one ends before the second one starts. This isn't getting your data correct; knowing which one comes first isn't part of the problem description :)



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

Search: