Amdocs Interview Question

Swapping of two binary variables