Publicis Sapient interview question

Asked me a puzzel.