An Important fact you should take care of


#1

you should not consider any duplicate strings in vector B differently. they should be considered the same. so try eliminating them.
for eg:
“aa”
2 “a” “a”
should give : a a
not : a a a a a a a a