Back to course home
0% completed
Vote For New Content
Instead of checking elements the indexes can be compared.
balamurali.manickavasagam
Feb 22, 2024
It still works with the below condition instead of if ( nums[i] != nums[j])
if (i !=j)
1
0
Comments
Comments
On this page