JPMorganChase Interview Question

DP , Graph, Linked list, BFS, DFS