Facebook E4 纽约挂经

The questions were extremely easy and I solved all of them. I think I did very bad in the design round or behavior, impossible to know.

  1. Given N points find the nearest K from origin
  2. Given an array of numbers find a subset with a particular sum
  3. Given a Binary Tree, write an iterator.
  4. Given a sequence of tasks with a cooldown, return total time it takes to execute all of them, ignore the cooldown for the last task.
  5. Given two binary numbers add them.
  6. Design search()/suggestions.

All the best guys. I have no idea why I failed.