LeetCode Weekly Contest 13
@quitz54 hi, may i know what is num?
@shawngao It's a nice solution!
No one has replied
@pengr7 666,xue xi le
quite similar to mine. but only beats about half of all submissions :(
found this post and found it's the same as mine
@terminated Hi, Do you have an O(n) or O(nlogn) solution for this problem?
Here is two line solution.
this is a c++ version based on your solution
Disabled Categories are greyed out
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.