Domanda di colloquio di Sandia National Laboratories

How would you solve this problem in parallel?