Https://ide.codingblocks.com/s/212507

pls check why non of the test case is passing and pls edit the code and send

hey, the logic is correct
however, the mistake is in the input, input the numbers as an array of integers and then sort it the same way
it will pass all the test cases

bhaiya edit krke bhejna aapne bata toh diya zara ye batana ki append valli cheez array ke liye kahan hoti hai. Aap edit krke bhjo or check krlena sare test case pass horhe hai

@Madhavendra-Gupta-2240591552663161
jab comparator m pass kro
suppose bool comp(int x. int y)
modify here as
string x1 = to_string(x)
string x2 = to_string(y)
ab baki sara same logic bss x1 aur x2 k liye return true ya false
aur end m continuation m bss array print krdo
abhi array ka size hai 10^6 , string ka size
isme agar m bhot bada input dedu toh ye string m input hi nhi ho paega

hey @Madhavendra-Gupta-2240591552663161 if your doubt is solved, please mark it as resolved

@Madhavendra-Gupta-2240591552663161 hey, if your doubt is solved
please mark it as resolved