Question d’entretien chez Huawei Technologies

Puzzles- appear tricky - although based on simple logic.