Given 3 types of queries

- Insert element 'x' into multiset
- Delete element 'x' from multiset
- Find xor of all elements present in multiset which are less than 'k' (k is not fixed)

I required above solution in this problem. But I was unable to solve it this way. How to solve this?