tringapps Interview Question

about data structure