I saw two different answers in leetcode using comparators:
why is the first bool Comp function defined outside of the class? even when i bring bool Comp in