question link
https://online.codingblocks.com/player/11915/content/5316?s=1502
my solution
https://ide.codingblocks.com/s/44949
what should be the change in my code.to obtain required pattern
Form biggest number doubt
Hey, I am not getting what you are trying to do in your code as its very ambiguous… please put the comments in your code. Otherwise, in this question you have to form the biggest number from given array elements and that can be done by sorting the array elements in reverse lexicographical order.
for eg. 54 546 548 60 this array will form a number 6054854654 when we sort all these numbers in reverse lexicographical order.