Meta Interview Question

How to do underroot, top view tree, string search.