The only difference between the Accepted code and TLE code is that I used a lambda expression in the AC code for deleting an element from a multiset. If I do the exact same thing but without the lambda expression, it times out!! What is going on here? I'm confused.