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
I added some unit test to verify the issue and added the fix. If you find anything else let me know or feel free to open a pull request. Thanks, @yupeilin123!
When there is only one
Node
, this linkedlist is wrong.The following code is correct.
The text was updated successfully, but these errors were encountered: