What's the faster solution?

  • 0

    There are two peaks in "Accepted Solution Runtime Distribution" given by OJ, and top rank solutions by "More Vote" all lies into the second peak from left (100ms ~ 150ms). And the method they used was to implement Comparator. I'm so curious about the faster solution (around 50ms). Is anybody's solution get there? Thank you in advance!

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.