-
Notifications
You must be signed in to change notification settings - Fork 2
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
Vector Deque #5
Vector Deque #5
Conversation
doc(deque): added documentation to deque.
Co-authored-by: Tim Whiting <tim@whitings.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a few minutes to take a bit closer look at this. Here are a few comments.
Co-authored-by: Tim Whiting <tim@whitings.org>
I'll will change the API and add in an |
--------- Co-authored-by: ki11errabbit <ki11errabbit@posteo.net> Co-authored-by: Tim Whiting <tim@whitings.org>
* fix: corrected size of a resized vector (#7) Co-authored-by: ki11errabbit <ki11errabbit@posteo.net> * Vector Deque (#5) --------- Co-authored-by: ki11errabbit <ki11errabbit@posteo.net> Co-authored-by: Tim Whiting <tim@whitings.org> * feat: working on min-max heap * feat: added delete-min and delete-max * feat: completed most of heap * fix: working on getting heap max working * feat: added swap function * fix: got heap working * fix: fixed insertion into heap * doc(heap): added documentation to heap * switch to cmp * improve names on a few things * fix: fixed logic, now just need to remove debug prints * fix: removed debug prints, but there are still errors * fix: fixed all noticed errors * fix: removed main from heap, fixed deque being mutable and made it immutable * fix: removed typo, and changed name of checks in get-next-* to indicate where in the family tree they are. * fix: made logic clearer in get-next-* * fix: fixed indentation of if then else, fixed merge error in core-extras --------- Co-authored-by: ki11errabbit <ki11errabbit@posteo.net> Co-authored-by: Tim Whiting <tim@whitings.org>
I have made a double ended queue that is similar to the vector-list. I figured that since Rust's stdlib contained one, I might as well make one for this library.