In Time Tec Interview Question

data structure