Barnes Hut Algorithm - Parallel Implementation using Work Stealing

Barnes Hut Algorithm is an approximation algorithm for N-Body simulation. N-Body simulation is a simulation of the system of particles…