Sir, in this video, do we not have to add an additional condition for when elements are equal?
Doubt in the video
hello @vageesha
no , we will never consider an element more than once so there repetetion will not have any effect. no need to put any additiona condition
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.