Given two string A and B with backspace character. Output 1 if both strings would end up to be same, 0 otherwise.
First argument of input contains a string A. Second argument of input contains a string B.
return an integer 1 if strings would be same, 0 otherwise.
1 <= |A| , |B| <= 1,000,000 string consist of smaller case english alphabets and "\B".
Input 1: A = "abc\Bbd\Be", B = "abbe\Be" Output 1: 1 Explanation: both strings would end up to be "abbe". Input 2: A="a\Bb", B="b\B" Output 2: 0
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a doubt? Checkout Sample Codes for more details.