ZS Associates Interview Question

No such constraint