TomTom interview question

Bitwise operations