HackerEarth: Help Katekar

Revision en1, by aritra_roy, 2019-03-14 20:49:54

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.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English aritra_roy 2019-03-14 20:49:54 546 Initial revision (published)