Google Interview Question

DSA questions about trees, and another for strings.