Amazon interview question

Given, a problem related to leet code problem1 Dictionaries in Python or collections in java and DFS

Interview Answer

Anonymous

22 Jul 2021

used Greedy approach for first and matrix manipulation for second