GoLang Solution For LeetCode Problem: Adding Two Negabinary Numbers
Solving Adding Two Negabinary Numbers in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.
Input: arr1 = [1,1,1,1,1], arr2 = [1,0,1] Output: [1,0,0,0,0] Explanation: arr1 represents 11, arr2 represents 5, the output represents 16.
1 <= arr1.length <= 1000
1 <= arr2.length <= 1000
- 1 <= arr1.length <= 1000
- 1 <= arr2.length <= 1000
See the full details of the problem Adding Two Negabinary Numbers at LeetCode
Originally posted at: @github.com/halfrost/LeetCode-Go