Today to interview a line companies, was stumped by this question, answered the adb screen, record the results of the interviewer said that is not the most optimal solution
CodePudding user response:
In addition, the interview to ask this kind of problem is futile, can only explain the interviewer not professional enough