Huawei Motorola and other companies interview questions (programming)