Closed SHIJIECHN closed 2 years ago
circular-linked-list.js error: current = this.getElementAt(this.size()); answer: current = this.getElementAt(this.size() - 1);
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? Thanks for pointing it out!
@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);