News for hackers. Stuff that matters.
Re:How to Interview Engineers by delinka on Monday June 26, 2017 @08:12PM (#14641515)
Just make sure your data is correct, and a single comparison works: https://gist.github.com/anonymous/c02d74eb75a51dce8dcbc027a3...
Re:How to Interview Engineers by barrkel on Monday June 26, 2017 @08:17PM (#14641551)
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 :)