aritra_roy's blog

By aritra_roy, history, 5 years ago, In English

I couldn't understand as to what this problem is trying to specify. Link. At first I thought it was like the Longest Increasing Subsequence problem with an addition that the frequency of B[i] > B[j] is also a condition that should immediately follow. But seems like that's not the case. Looking at the editorial also didn't help. Can somebody pls help me understand the problem.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it