also what is pair<string , int> ? where was this taught in the videos? please help me as im really confused and cannot understand this problem at all.
I was not able to understand comparators?
it is a key value pair (in which the first field is of the type string and second field is int)
there is no separate video for this in the course you can understand pair by searching online.if still you don’t understand you can ask again anytime