Solved Longest Non Consecutive Incrasing Substring problem