Check if There is a Valid Path in a Grid at Robinhood
Medium50.0% acceptance
This problem has 87.5% frequency at Robinhood.
Problem Description
You are given an `m x n` `grid`. Each cell of `grid` represents a street. The street of `grid[i][j]` can be: * `1` which means a street connecting the left cell and the right cell. * `2` which means a street connecting the upper cell and the lower cell. * `3` which means a street connecting t...
Read full problem and hintsTopics
More Robinhood Questions
Ways to Split Array Into Three SubarraysMediumRestore the Array From Adjacent PairsMediumNumber of Orders in the BacklogMediumCount Good MealsMediumCount the Number of Consistent StringsEasy
View all Robinhood questions