I have an unordered vector v like the one shown below and would like to find the indices of the last occurrence of every unique elements in the list. like the one shown
I have an unordered vector v like the one shown below and would like to find the indices of the last occurrence of every unique elements in the list. like the one shown