Here’s the code. Can you please tell me if in line number 25
i-current_len>last_occ this condition does it matter??
Because when I do the dry run I am not getting any condition where I have to check for this condition. Can you please tell me where this condition matters!