Amazon interview question

mountain peek question regarding subsequence