what will happen if we have repeating numbers?
Wave sort doubt
We won’t have repeating numbers in this particular question.
what if we have? i mean can we modify the same algo for that? or we have to use different approach?
We won’t have. Don’t worry. This is because the conditions are strictly greater or less than.
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.