Tesla Interview Question

Swap even and odd bits