You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In line 49, you are checking for a position that contains an element, so I guess you would like to break the while loop if there is no value for that position
so
while (table[index] === undefined || table[index].key !== key)
should be
while (table[index] !== undefined || table[index].key !== key)
The text was updated successfully, but these errors were encountered:
In line 49, you are checking for a position that contains an element, so I guess you would like to break the while loop if there is no value for that position
so
should be
The text was updated successfully, but these errors were encountered: