Is there any way to store the location of an array element and that array element were the array elements can be repeated

Правка en1, от kabirdutt0907, 2021-06-12 07:55:31

Yesterday I came across a question whereby I need to store the location and the respective element at that location and every time I need to access the location to perform the given operation here the array elements can repeat I know for some of you the doubt may be silly But i am kinda weak in data structure So please help..

Теги #data structure, #competitive programming, #vectors, #std::map

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский kabirdutt0907 2021-06-12 07:55:31 454 Initial revision (published)