MEX equality

Problem Name:
MEX equality
Site:HackerEarth
Links:
Tags: