The Home Depot interview question

I dont remember precisely how it went