How to proceed further

how to get zeroes infront

Hi,

Just compare the corresponding characters in the string. if they are same insert 0 else 1 to the answer.