Verisk interview question

Find the Longest Increasing Substring