Can anyone brief about the approach of this problem?

Problem Link:-

Please give breif description to solve this Problem …