MindCloud Interview Question

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