Form Bigger Number

testcases not passing?

any short and efficient method?

@RULEREMPIRES yes buddy there is another method!
Basically the idea is same to compare XY and YX by sorting using anonymous comparator. You can read more about comparator if you don;t know. Here you can refer the code.


If your query is clear mark it resolved and rate full!