Bitwise interview question

Sql and Java