IPDC interview question

Background work