DXC Technology interview question

Some Basic data structures question