Pregunta de entrevista de NVIDIA

Given a number, swap even bits with odd bits.