JPMorganChase interview question

DP , Graph, Linked list, BFS, DFS