Closed xqian closed 11 years ago
http://leetcode.com/onlinejudge#question_3
time complexity is N^2, which is not good. But I am not sure there are better solution
http://leetcode.com/onlinejudge#question_3