when we define the compare function in the code how it actually works?
I am not able to understand it properly.
And why the return type is bool?
when we define the compare function in the code how it actually works?
I am not able to understand it properly.
And why the return type is bool?