Nando's UK & IRE interview question

Develop a solution for the take home coding test