Amdocs Interview Question

spiral