Leetcode: Add Binary (Java) How can it perform addition between one char and one int?

前端 未结 0 1872
礼貌的吻别
礼貌的吻别 2021-01-01 16:20
class Solution {
public String addBinary(String a, String b) {
    int len1 = a.length() - 1;
    int len2 = b.length() - 1;
    
    int carry = 0;
    
    StringB         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题