Xero Interview Question

In technical interview there was question related to data structure