MiQ interview question

Trees,linked list, recursive problems, Database