Search⌘ K
AI Features

Minimum Time Takes to Reach Destination Without Drowning

Minimum Time Takes to Reach Destination Without Drowning asks for the fastest route from S to D as floodwater spreads, avoiding stones and cells that become unsafe, or reports no possible route.

Statement

Given a m x n grid of the string land. It consists of the following types of cells: ...