454. 4Sum II

  這道題讓我五味雜陳(手動哭笑)。果然,求組合數和求具體的組合情況的思路還是很不一樣的。 class Solution { public int fourSumCount(int[] A, int[] B, int[] C, int[] D) { // K: Sum, V: freq Map<Integer, Integer> map = new Has
相關文章
相關標籤/搜索