Tripadvisor Interview Question

easy question about the relationship between two classes, static class member and function, and efficiency of tree data structure