Max Number of K-Sum Pairs — CaffeCode