MindCloud interview question

How would you deal with this code challenge? (hard code challenge)