Be more careful about how we remove elements from sets
ie if we do set.remove(k), we don't decrement k -- we decrement whatever was in the set, which can be different.
Showing
Please register or sign in to comment
ie if we do set.remove(k), we don't decrement k -- we decrement whatever was in the set, which can be different.