The steps are as follows:
Given two inputs:
Location Map: A 2D array representing the environment.
| O | E | E | E | X | | E | O | X | X | X | | E | E | E | E | E | | X | E | O | E | E | | X | E | X | E | X |
O = RobotE = Empty spaceX = BlockerQuery: A 1D array representing the distances to the closest blocker in the order: left, top, bottom, and right. For example, [2, 2, 4, 1] means a distance of 2 to the left, 2 to the top, 4 to the bottom, and 1 to the right.
Task:
Write a function that takes these two inputs and returns the index (or indices) of any robots that match the query.
Example Output:
[[1, 1]]
Time Complexity: O(n * k * (n + k))
Matrix Example:
[['O','E','E','E','X'],['E','O','X','X','X'],['E','E','E','E','E'],['X','E','O','E','E'],['X','E','X','E','X']]
The following metrics were computed from 12 interview experiences for the Uber Senior Software Engineer role in Netherlands.
Uber's interview process for their Senior Software Engineer roles in Netherlands is extremely selective, failing the vast majority of engineers.
Candidates reported having mixed feelings for Uber's Senior Software Engineer interview process in Netherlands.