Amazon Interview Question

Convert an ambiguous prompt to clear one