LeetCode 56. Merge Intervals

in this question, you can AC with the following code:

   

the time timeout is finally displayed. What is the reason for asking all the bosses? Is it true that one more comparison will time out, or is there something wrong with the program itself?

Jul.03,2022

sort Compare does not conform to the specification. Refer to Compare
that is to say, if there is comp (true ), then comp (b, a) = = false must be established.
your end with < = comparison will lead to comp (ajib) = true, comp (b) A) = true

Menu