UiPath interview question

1) A Standard Graph BFS question 2) Implement Trie