https://123dok.com/bd/docs/optimizing-divide-and-conquer-based-algorithms.10824785