[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/mJackie/leetcode/master/code/lc454.java [Back]  [Original]

package code;

import java.util.HashMap;

/*
 * 454. 4Sum II
 * 40
 * Medium
 * Hash Table, Binary Search
 * 
 *      2SumHashmap
 *      42
 * Tips
 */
public class lc454 {
    public int fourSumCount(int[] A, int[] B, int[] C, int[] D) {
        HashMap hm = new HashMap();
        int res=0;
        for(int i=0; i

Web Proxy Viewer  |  New URL  |  Original Page