-
Notifications
You must be signed in to change notification settings - Fork 247
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
Add segment tree #822
base: master
Are you sure you want to change the base?
Add segment tree #822
Conversation
Slowly adding code.
It takes a lot to set up the projects for this.
Gone. Snap. They've done their work. Nothing personal. Text files don't feel.
I've fixed many bugs. Should only have a few left now.
Important restore point.
The debugging madness continues.
Only a few remaining.
Screw the RNG!
Finishing up.
What happened? I didn't mess with these files. I don't know anymore what is happening. |
Okay... whatever. The old stuffs are failing? Whatever. I think this is fixed/something in the future updates but I don't know. |
I think the reason for these errors is that you have defined a function Please note that the principal maintainer of DataStructures, user @oxinabox, has prioritized the process of getting all the current data structures ready for a major release, and inclusion of new data structures has a lower priority. |
I have argued before that such Data Structures are really only useful in an competitive programming environment. For instance, one can do these exact operations on an AVL/Red Black Tree. I think there is greater utility in this data structure being a standalone package, rather than being included in DataStructures per se. Lastly the usage of the term Segment Tree is actually ambiguous. The term is used here in a competitive programming setting is different then https://en.wikipedia.org/wiki/Segment_tree as it makes the assumption that all segments are length 1. |
I am adding the segment tree data structure to the Datastructures.jl.
Thanks for reviewing and I am hopeful this code will be accepted.