Amazon OA | USA | Reorder Data in Log Files | Destruction Robot
Anonymous User
1624

giving back to community.

question 1. https://leetcode.com/problems/reorder-data-in-log-files/ with different namings

question 2. Given destruction robot positioned at (0, 0), check if robot can destroy an obstacle somewhere matrix(9) that has trenches(2) and flat grounds(1) and return the distance. Do BFS from origin and increment distance on each BFS level traversal. Return distance upon finding grid[r][c] == 9

Comments (3)