package leetcode;

/**
 * https://leetcode.com/problems/matchsticks-to-square/
 */
public class Problem473 {
    public boolean makesquare(int[] nums) {
        // TODO
        return false;
    }

    public static void main(String[] args) {
        Problem473 prob = new Problem473();
        System.out.println(prob.makesquare(new int[]{1, 1, 2, 2, 2})); // true
        System.out.println(prob.makesquare(new int[]{3, 3, 3, 3, 4})); // false
    }
}

@@ -439,16 +439,104 @@
 / false%0A
+        System.out.println(prob.makesquare(new int%5B%5D%7B1, 1, 1, 1, 1, 1, 1, 1%7D)); // true%0A
     %7D%0A%7D%0A

Update problem 473