Pls help. with this test case


#1

test case - A-aaaaaaaaaaaaaaaaaaaa
B- “*”
i think ans should be 0 but it gives 1;


#2
  • is not a single character it can be an empty sequence or a sequence with nonempty characters ex: * may be “abc” or " " or anything basically