DXC Technology interview question

Define tree structure and sorting types