Kearney Interview Question

typcial cases that you can imagine