RBC Interview Question

Approach to ambiguity with examples