Introduction - If you have any usage issues, please Google them yourself
time complexity of O (nlogn) of the longest-monotonically increasing sequence of the program. Is not dynamic programming algorithm. In a minute can be calculated n = 10 ^ 6 elements of incremental sequences.