different ways of using comparator c++

后端 未结 0 1745
死守一世寂寞
死守一世寂寞 2020-12-18 13:47

I saw two different answers in leetcode using comparators:

  1. why is the first bool Comp function defined outside of the class? even when i bring bool Comp in

相关标签:
回答
  • 消灭零回复
提交回复
热议问题