Please help me to finding the solution of this problem. Design and Analysis of Algorithms. enter image description here