can we just use map and set stl for such type of que
Did not understand properly
@Ashu1318 the concept is quite simple, what part are you confused about, maybe I can help in clearing the confusion?
If you use a map, then also you’d be doing the same thing only. Here since the range of marks is given to be 1-100 we can easily make a vector of size 101 to accomodate this.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.