Question d’entretien chez Capital One

Find first common element in a stack