ServiceNow interview question

Javascript and Binary Trees related questions