Amazon Interview Question

Update the api to support feature x. Find the bug in api y.