Sollicitatievraag bij Microsoft

After implementing the above algorithm, how to perform parallelized computation