I have watched the video for this but i can’t understand
Q1) what is the use of vector and hash-map, they are not required in the question.
Q2) Also if we have a hash-map then we already have a list of unique elements so what is the use of vector at all?