DirectShifts Interview Question

Going through interview on Friday,