LeetCode Question · Oct 2024

Amazon Unsolvable OA question -- Is it solvable by Greedy?

11 upvotes 2,010 views 9 replies

Question Details

Got this question in an Amazon OA and wasn\'t able to solve it, tried a dfs solution but it resulted into TLE. Can anyone solve it in better T.C?

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Graph Greedy