Given an m x n grid containing land, impassable water, a start cell, a cheese target, and a cat, find a path from start to cheese that maximizes the minimum Manhattan distance to the cat along the…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.