Question d’entretien chez Texas Instruments

pseudeocode for the given coding challenges.