MCPcopy Create free account
hub / github.com/LjyYano/LeetCode / L0067_AddBinary

Class L0067_AddBinary

src/main/java/L0067_AddBinary.java:19–68  ·  view source on GitHub ↗

https://leetcode.cn/problems/add-binary/ 给你两个二进制字符串 a 和 b ,以二进制字符串的形式返回它们的和。 示例 1: 输入:a = "11", b = "1" 输出:"100" 示例 2: 输入:a = "1010", b = "1011" 输出:"10101" 提示: 1 <= a.length, b.length <= 104 a 和 b 仅由字符 '0' 或 '1' 组成 字符串如果不是 "0" ,就不含前导零

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected