Weatherford interview question

I did mentioned it above