Amazon Interview Question

Questions on trees, linked list, oops concepts and d.p.