Question d’entretien chez Google Cloud

top-k elements and longest repeating substring