Question d’entretien chez Huawei Technologies

an algorithm to count 1 to 100