Why use unordered_set and not simply set?

Why use unordered_set and not simply set?

Hey @girishgargcool that’s because we have constraints limitations.
Unordered set and set , both have different complexity for different functions. Read this for more information on them https://www.geeksforgeeks.org/unordered_set-in-cpp-stl/

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.