Longest increasing sequence

Правка en1, от NoPX, 2015-10-04 18:03:55

I am unable to understand the O(n log n) algorithm. I've found many examples, but there are too difficult for me. Could somebody explain it in simple words ? I saw that a lot of users use lower_bound, but I don't see why it works.

I know that there'll be answers like google it etc, but I've already spent many hours and I didn't find anything useful.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский NoPX 2015-10-04 18:03:55 381 Initial revision (published)