Viber Interview Question

mostly about data structures and algo