HGS interview question

Commutation ability