IN the unordered set ,we used generally value --pair in mapping but to find the subaarry equal to zero ,,please check description

IN the unordered set ,we used generally value --pair in mapping but to find the subaarry equal to zero ,we just used unordered_map sumset it is true to written like that there is not necessary to have a key --value in mapping ???

@AMIT_KUMAR
A map always has to be unordered_map<key,value> type
I don’t know where you saw only key or only value
But it was probably incorrect

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.