Module Hash a set

Hash a set

**Frequency: 4/10** Different from string hashing, this method is used to hash sets and multisets (e.g. $\\{1, 2, 2\\}$ is equivalent to $\\{2, 1, 2\\}$).

Resources

- [Codeforces Blogs: XOR Hashing [TUTORIAL]](https://codeforces.com/blog/entry/85900)

Problems

Prefix equality 35 / 39 1500
Good subarray 31 / 35 1600
Mino 7 / 9 1700
Brewing potion 6 19 / 22 1800
Traffic system 19 / 21 2000
Odd 2 / 12 2100