Problem in the sample example

programming
Tags: #<Tag:0x00007f2426e74f40>

#1

abba should also be true

if we delete ba from the last, we get ab
and if we delete first b and 2nd a, then also we get ab

thus it should be true