package leetcode;

import java.util.Arrays;

/**
 * https://leetcode.com/problems/adding-two-negabinary-numbers/
 */
public class Problem1073 {
    public int[] addNegabinary(int[] arr1, int[] arr2) {
        // TODO
        return null;
    }

    public static void main(String[] args) {
        Problem1073 prob = new Problem1073();
        System.out.println(Arrays.toString(prob.addNegabinary(new int[]{1, 1, 1, 1, 1}, new int[]{1, 0, 1}))); // [1,0,0,0,0]
    }
}

@@ -455,16 +455,141 @@
 ,0,0,0%5D%0A
+        System.out.println(Arrays.toString(prob.addNegabinary(new int%5B%5D%7B1, 1, 1, 1, 1%7D, new int%5B%5D%7B1, 0, 1, 1%7D))); // %5B1,1,0%5D%0A
     %7D%0A%7D%0A

Update problem 1073