Premium Content
Sign in to see the full question
Get access to the full problem, solutions, follow-up questions, and discussion.
Get access to the full problem, solutions, follow-up questions, and discussion.
You are given an m x n grid of non-negative integers. A positive value represents a candy type, and 0 represents an empty cell. A match is any horizontal or vertical run of at least three...