Pregunta de entrevista de British Gas

How would you go about building the AI?