what is the use of bool operator>() function in the solution ?
The code that i wrote is very much similar other than the operator function and my code works fine for the sample test given ,but could not pass the other test cases.
Doubt in the Editorial of Sort game
bool operator>()
is used for operator overloading, although need not to overload > operator, as it is still performing the same operation.
Please provide me your code so that i can tell you your mistake.