Bloomberg Interview Question

A few general questions about data structure. Three programming questions. The programming questions are very basic, equivalent to easy to medium in leetcode.