@@ -0,0 +1,308 @@
+public boolean canBalance(int%5B%5D nums) %7B%0A  for (int i=0; i%3Cnums.length; i++) %7B%0A    int beforeSum = 0;%0A    int afterSum  = 0;%0A%0A    for (int k=0; k%3Cnums.length; k++)%0A      if (k %3C i) beforeSum += nums%5Bk%5D;%0A      else afterSum += nums%5Bk%5D;%0A    %0A    if (beforeSum == afterSum) return true;%0A  %7D%0A  %0A  return false;%0A%7D%0A

Create canBalance.java