https://www.study24x7.com/post/37933/parallel-algorithm-0