Thanx interview question

1. Find the difference between min and max elements in an integer array 2. Design a system with tree structure, which has directories and files, a directory can have other directories or files, both of them have attributes name, file size, writable.

Interview Answer

Anonymous

30 Mar 2017

1. Iteration and get min and max, then get difference. 2. Object-oriented design, inheritance, shared attributes and action.