Hello!
I wanted to use my own order function to solve a problem of the Leet Code chanllenge. However, due to how the answer has to be given inside a class, I don't know how to implement an auxiliary boolean function. I don't know a thing about classes or the sort, so maybe there's an evident way. I wouldn't know.
Thanks for everything, and have a great day/afternoon/night.
Ayhon
EDIT: This is in C++ by the way. I didn't realize there were other languages to choose from