Maximum Non Negative Product in a Matrix at Google

Medium35.7% acceptance

This problem has 25.0% frequency at Google.

Problem Description

You are given a `m x n` matrix `grid`. Initially, you are located at the top-left corner `(0, 0)`, and in each step, you can only **move right or down** in the matrix. Among all possible paths starting from the top-left corner `(0, 0)` and ending in the bottom-right corner `(m - 1, n - 1)`, find th...

Read full problem and hints

Topics


More Google Questions

View all Google questions