C3 AI Interview Question

2 problems involving strings and graphs