Pregunta de entrevista de Huawei Technologies

3 algorithm questions with java and some question about oop principals.