Bloomberg LP Interview Question
InternsTeam: Financial Software Developer
Country: United States
Interview Type: Phone Interview
then take n processors, and divide all these n process of each processors, and execute them parallely, as they are independent jobs, so there wont be any shared data between them. ya but this require you to change your code, make it multi-threaded, but if it is then we don't have to do anything, we just need to add more processors, it would be better if we add n processors(for efficiency), but more or less is also fine.
The obvious hint for this question is Concurrency. Both Single processor/shared memory hint that it is better to divide the tasks into multiple processes and let the OS try to execute them in parallel(single CPU will not let that happen). Depending on the tasks they might or might not execute in less than 8 hours.
- Abhi January 27, 2013