Question d’entretien chez Halliburton

How would you write a program to do blank.