Search⌘ K
AI Features

Adding Two Negabinary Numbers

Adding Two Negabinary Numbers gives you two arrays of bits representing values in base negative two. Return their sum in the same format, without leading zeros.

Statement

You are given two numbers represented in negabinary (base ...