BINADD question help pls

My code is giving right answer as i am checking with my test cases but unable
to find wrong test cases pls help finding where code is giving wrong answer

link to code -
see my solution add one condition if decimal value of string b is 0 (zero) than answer is 0

1 Like

yes it is following it,but dont know which test case is wrong.

thanks for solution!!

i think there is no need for explaination , but if u then i will be happy :slight_smile:

1 Like

i got it ,thanks bro for help!!

i also calculated no. (01) or (10) pattern after (11) but getting wrong answer.