Search⌘ K
AI Features

Add Binary

Understand how to sum two binary strings by implementing an efficient algorithm that operates in linear time and space. This lesson helps you grasp the problem constraints and develop a solution suitable for coding interviews.

Statement

Given two binary strings str1 and str2, return their sum as a binary string.

...