Bloomberg | Phone Screen | Two Questions

Two Questions:

  1. Target Sum : Given an array of non negative numbers and a target integer return TRUE if you can generate the number from the arrray using any subset of he array.

  2. Design Question: It was an iterative conversation. You take 1 second to spin up a process and you take 10ms seconds to respond to a request after processing it. What are the considerations you would take whilst designing such a system.

I hope this helps someone.

Comments (9)