Okta interview question

Tree and implementation of tree