Use of applied mathematics during hiring process for developers

How long did it take you to solve this task?

  1. < 30 seconds
  2. 5 minutes
  3. p
  4. instantly
  5. ~ 1 min
  6. 30 seconds
  7. 2
  8. 15 seconds, mostly to write it
  9. 5min
  10. Couldn't