Domanda di colloquio di Amazon

Questions about computing the distance between words