Pergunta de entrevista da empresa Microsoft

After implementing the above algorithm, how to perform parallelized computation