You are viewing a single comment's thread. Return to all comments →
Why do we use variable a,b in comparator function? a,b has attributes: name and score when we define the class, right?
Seems like cookies are disabled on this browser, please enable them to open this website
Sorting: Comparator
You are viewing a single comment's thread. Return to all comments →
Why do we use variable a,b in comparator function? a,b has attributes: name and score when we define the class, right?