Finding the Longest Increasing Subsequence Using Segment Tree | Hacker News Reader