Why is c not printing?

In the above video you mention the series “aabccbcd” so at c it is also not repeating character then why it is not printed?

hello @priya_Jain
we need to print first non repeating .and there is b which comes before c and it is non repeating thats why we r printing b and not c