Back to problems

Lasers and Robot

Algorithm · Roblox · Medium

Laser Grid Navigation Easy · Topics · Company Tags · Hints You are given a rectangular grid with R rows and C columns. Every cell contains one of four characters: 'S' – your starting position (there is exactly one 'S' on the grid). '#' – an impassable wall. 'L' – a laser emitter. '.' – empty, traversable ground. A laser 'L' makes its entire row and its entire column hazardous. Any cell that shares a row with a laser, or shares a column with a laser, is forbidden to enter.…

Checking your access…