Find Maximum Distance

Asked at Wells Fargo · Coding Questions · Difficulty: Hard

The city of Hackerland can be represented as a two-dimensional grid of size `n x m`. Each cell is either empty (a dot character `.`), has an obstacle (an asterisk `*`), an `S`, or an `E` that represent the start and end points respectively.

Loading the problem…