Google Interview Question

Min Heap, Longest Common Substring, DFS