@@ -0,0 +1,529 @@
+package leetcode;%0A%0A/**%0A * https://leetcode.com/problems/play-with-chips/%0A */%0Apublic class Problem1217 %7B%0A    public int minCostToMoveChips(int%5B%5D chips) %7B%0A        // TODO%0A        return 0;%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        Problem1217 prob = new Problem1217();%0A        System.out.println(prob.minCostToMoveChips(new int%5B%5D%7B1,2,3%7D)); // 1%0A        System.out.println(prob.minCostToMoveChips(new int%5B%5D%7B2,2,2,3,3%7D)); // 2%0A        System.out.println(prob.minCostToMoveChips(new int%5B%5D%7B1,1,2,3,3%7D)); // 1%0A    %7D%0A%7D%0A

Update problem 1217