-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insert function of circular-linked-list in charpter6 is error #186
Comments
it took me almost an hour to figure it out, I'm glad that I wasn't the only one that got it :D |
@carlos-novaes @SHIJIECHN can you please open a PR with this fix? |
@loiane don't have an access to push up a branch for opening a PR, how to open a PR correctly? |
@Jeffzholy you can fork the project to your github account, create a branch, commit the fix and then create the PR from your fork to this github repo. |
@Jeffzholy thank you, merged. |
circular-linked-list.js
error: current = this.getElementAt(this.size());
answer: current = this.getElementAt(this.size() - 1);
The text was updated successfully, but these errors were encountered: