Frage im Vorstellungsgespräch bei Sandia National Laboratories

How would you solve this problem in parallel?