Hello There
So i found this Problem where i have to find the LIS of 10^5 pairs of integers
a pair is greater than another pair if x1<x2 and y1<y2 strictly
now finding LIS using a segment tree for such a large input is no issue ... but sorting the pairs kinda confused me
any ideas or hints how should i think about this problem ?