Back to course home
0% completed
Vote For New Content
Why not compare i and j directly instead of doing nums[i] and nums[j]? Since the...
Kyle McKee
Mar 31, 2022
Why not compare i and j directly instead of doing nums[i] and nums[j]? Since the array contains distinct numbers nums[i] would never equal nums[j] unless i and j are equal, correct?
3
0
Comments
Comments
On this page