To add two binary strings, start by trimming leading zeros. Then, perform bit-by-bit addition from the last characters of both strings. If the sum exceeds 1, store the carry for the next bit. After processing all digits, prepend '1' if there is an additional carry. Finally, return the result as a string with no leading zeros.
For more details, check out the full article: Add two binary strings.