Amazon Interview Question

Variation of the knapsack problem Variation of a DFS problem in graphs