Adding Two Negabinary Numbers
Understand how to add two numbers represented in negabinary, which is base -2, by processing arrays of binary digits. This lesson teaches you to interpret negabinary arrays, perform addition correctly considering the base, and return the result in the correct format. You will learn to handle edge cases and understand the unique properties of negative base arithmetic.
We'll cover the following...
We'll cover the following...
Statement
You are given two numbers represented in negabinary (base