Amazon Interview Question

Leetcode hard problems of graphs and Tries