Question d’entretien chez Huawei Technologies

binary-search, time complexity? How to apply?