Question d’entretien chez LG Soft India

Leetcode medium question. Bulls and cows.