Schneider interview question

Previous tasks I have done.