You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user may wish to extend the Node object, or implement the Node interface within a custom object. The RedBlackTree could be made to accept these objects and organize them appropriately. This would allow users to implement more complicated sorting strategies then just a singular int, like sorting against a tuple or a custom function.
One consideration is the delete function. Would the user have to provide the exact object they with to remove, or just a key? I guess both could work.
The text was updated successfully, but these errors were encountered:
A user may wish to extend the Node object, or implement the Node interface within a custom object. The RedBlackTree could be made to accept these objects and organize them appropriately. This would allow users to implement more complicated sorting strategies then just a singular int, like sorting against a tuple or a custom function.
One consideration is the delete function. Would the user have to provide the exact object they with to remove, or just a key? I guess both could work.
The text was updated successfully, but these errors were encountered: