Why are we making pair <str,str> ? and what if we enter string a={"11 22 33 44 55"}

why are we making pair <str,str> ??? and what if we enter string a={“11 22 33 44 55”}

Hi,

pair<str,str> contains pair of string and the key in the string.
if a={“11 22 33 44 55”}
and if key is 3 then pair is between string a and “33”.

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.