Added: O(n^2) solution for K-Complimentary Problem.