Solution to 4Sum by LeetCode

8 Apr

Quesion: http://oj.leetcode.com/problems/4sum/

Question Name: 4Sum or 4-sum

The key point is to prune when further qualified combination is not possible.

2 thoughts on “Solution to 4Sum by LeetCode

Leave a Reply

Your email address will not be published. Required fields are marked *