Coding Ninjas interview question

Tree, Graph and array were the standard