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

I don't work in the tech industry but I always assumed these questions were designed for you to demonstrate your problem-solving skills, regardless if you get the answer correct or not.

In this case, it would just be showing that you can reason about binary search and showing that the mean profit is 0.20 dollars



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

Search: