Hello guys ,
Today i was solving a problem and thought about it really hard and then i couldn’t get to know the answer and i saw a solution for a hint
And i was surprised to know that i was doing the same code but the difference was i was just sorting while he was doing sorting with bool compare
Here is the image of the bool function compare :
And i didnt understand what the fuction is doing
Can someone pls tell me what does this mean ?
Thanks a lot !!