Help in codeforces.com/gym/102263/problem/C

i want to solve Problem - C - Codeforces
and i try by java but i can’t anyone can help me please

Explain your approach .
May be you are not handling the case of backspace when the index is 0;

1 Like