I found summary of k Sum problem and solutions in leetcode on the Internet.
http://www.sigmainfy.com/blog/summary-of-ksum-problems.html