A bit more implementation around finding the duplicate strings.