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

Mar 30, 2017

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