-
Notifications
You must be signed in to change notification settings - Fork 280
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
In sixth, split_before
/ split_after
may return illegal empty linked list in some corner cases.
#238
Comments
I just found this now where I just opened a PR for this exact issue in the contain-rs/linked-list project. It is actually quite easily fixed, I'd be happy to open a PR in this project, too. I'm just not sure how exactly the structure of this project works, e.g. how can I run the code part of src/sixth-final.rs? Sixth is also not implemented as a "proper" list in the lists folder, is there a specific reason for that? I'd be happy to open a PR adding a sixth.rs with the full implementation and all the tests. |
Just copy the final code in the |
For example:
The text was updated successfully, but these errors were encountered: