Doubt in Ultra-Fast-Mathematicians

please tell me what’s wrong in my code, it’s not passing any testcase

@shubham.mehla2000 hey shubham the don’t hard code the logic the simple logic is that input two string and take one string for output
if zero indexes of the first string match with the index of other string append zero to output string else 1
these phenomena repeat until the string will over.

no sir, i have solved it by string already , https://ide.codingblocks.com/s/111717

but still what wrong in my previous code (solution using array) please have a look at that too!!!

@shubham.mehla2000 hey shubham the right is here go and check this