Exercise: Parallelize Scalar Product Calculation

Test your understanding of scalar products.

We'll cover the following

Challenge

The calculation of the scalar product in the following code can be parallelized. Your task is to start four asynchronous functions to calculate the scalar product using multiple threads.

Coding challenge

Convert the sequential highlighted code into parallel code.

Get hands-on with 1400+ tech skills courses.