Online Marketing Coordinator Interview Questions

6,004 online marketing coordinator interview questions shared by candidates

Second Question: Given a 2D matrix of m rows and n columns. A cleaner robot is placed at position (0,0). The robot moves in the forward direction cleaning the tiles ('.') until an obstacle ('#') or the border of the matrix is encountered. It then turns around in clockwise direction and moves forward until another obstacle is encountered. Following the above rules, the robot forms a cleaning path for itself. Output the maximum number of tiles the robot can clean for a given matrix. Constraints: arr[i][j]=='#' || arr[i][j] =='.' 1<=m<=20, 1<=n<=20 The starting point will always be a tile ('.')
avatar

Online Test

Interviewed at American Express

4.1
Oct 19, 2021

Second Question: Given a 2D matrix of m rows and n columns. A cleaner robot is placed at position (0,0). The robot moves in the forward direction cleaning the tiles ('.') until an obstacle ('#') or the border of the matrix is encountered. It then turns around in clockwise direction and moves forward until another obstacle is encountered. Following the above rules, the robot forms a cleaning path for itself. Output the maximum number of tiles the robot can clean for a given matrix. Constraints: arr[i][j]=='#' || arr[i][j] =='.' 1<=m<=20, 1<=n<=20 The starting point will always be a tile ('.')

Viewing 4501 - 4510 interview questions

Glassdoor has 6,004 interview questions and reports from Online marketing coordinator interviews. Prepare for your interview. Get hired. Love your job.