Frage im Vorstellungsgespräch bei Microsoft

After implementing the above algorithm, how to perform parallelized computation