Form biggest number

Sir could you please explain me how to implement this algorithm?
Here is the problem link: https://online.codingblocks.com/app/player/79595/content/76009/5316/code-challenge