Practice questions for graph and recursion