Salesforce interview question

Largest increasing sequence in 2D matrix