Databricks Interview Question

Bit manipulation question (not obscure or scary)