PolyAI interview question

Most challenging technical problem I have worked on.