TwoSum Help
This is what I have so far:
I'm getting the following error:
with Line 17 being the line with
I'm not sure exactly what is wrong with this line
3 Replies
Well,
nums
is an array
If you want to get an i
th element from an array, use nums[i]
Not nums(i)
oh
oops
tysm
Im dumb
Is there anything else with it that you see I might need improvement on?
Not at a glance