O(N^2)

Standings

Solved Attempted Pending judgement