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 no doubt
Hey, In this problem first you have to input no. of test cases and then for each test case you have to input the no. of elements in the array and then the corresponding elements of the array, but you have not taken the no. of test cases input and took the first input no. as no. of elements because of which your is not able to read the input correctly. Apart from that, 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.