My flaw was while considering the price to be some $b[i]$, I need to have all the $a[i]$ corresponding to same $a[i]$ in my set. (I still don't know how so many stresses missed these TC).
My flaw was while considering the price to be some $b[i]$, I need to have all the $a[i]$ corresponding to same $a[i]$ in my set. (I still don't know how so many stresses missed these TC).