Add ability to get leftmost (minimum) and rightmost (maximum) keys in treemap #6

Merged
vladaionescu merged 1 commit from master into master 2016-06-12 23:22:13 +00:00
vladaionescu commented 2016-04-19 20:39:55 +00:00 (Migrated from github.com)

Tests ran fine.

Tests ran fine.
vladaionescu commented 2016-04-29 22:28:43 +00:00 (Migrated from github.com)

Friendly ping...?

Friendly ping...?
emirpasic commented 2016-06-06 11:13:48 +00:00 (Migrated from github.com)

Hi Vlad, thank you for your contribution and interest in the project. I have been on vacation and busy with other projects, so excuse the long response time. I will look into this within a day or two.

On a quick note, I am having difficulties telling the difference of left from right in a map, even in a tree. I will pull in your request to a different branch and modify the naming to be explicit, i.e. "minimum and maximum" instead of "left and right" if that's OK with you. Additionally I think there is room for another more generic function within a tree "ceiling and flooring" which is the same thing except a node is passed as an argument. "minimum and maximum" in that case simply becomes a helper function for the same "ceiling and flooring" functions with the passed node being the root.

Once again, sorry for the delay and thanks!

Hi Vlad, thank you for your contribution and interest in the project. I have been on vacation and busy with other projects, so excuse the long response time. I will look into this within a day or two. On a quick note, I am having difficulties telling the difference of left from right in a map, even in a tree. I will pull in your request to a different branch and modify the naming to be explicit, i.e. "minimum and maximum" instead of "left and right" if that's OK with you. Additionally I think there is room for another more generic function within a tree "ceiling and flooring" which is the same thing except a node is passed as an argument. "minimum and maximum" in that case simply becomes a helper function for the same "ceiling and flooring" functions with the passed node being the root. Once again, sorry for the delay and thanks!
vladaionescu commented 2016-06-06 23:14:36 +00:00 (Migrated from github.com)

Cool, thanks Emir! Sounds sensible. Let me know if I can help with anything.

Cool, thanks Emir! Sounds sensible. Let me know if I can help with anything.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
golibs/gms-gods!6
No description provided.