Interview Question

Interview Montreal, QC (Canada)

If you have a network of computers and one of the computers

  has a massive file (e.g. tens of gigabytes), how would you copy the file to all of the other nodes in the network?
Tags:
problem solving
Answer

Interview Answer

1 Answer

0

I asked what the bottleneck was and the interviewer told me that it's the network card on the individual machines. You can do this in time that is linear in the size of the file and constant in the size of the network by having each computer begin copying the file to another computer before it even obtains the entire file.

Interview Candidate on Jan 29, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.