Kevin Nowaczyk
Kevin Nowaczyk
```python bst = RedBlackTree() bst.insert(55) bst.insert(40) bst.insert(58) bst.insert(42) assert bst.successor(bst.search(58)).key is None ``` > while not y.is_null() and x == y.right: E AttributeError: 'NoneType' object has no attribute 'is_null'
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...
* Added a `__str__()` to RedBlackTree to aid testing. * Added testing of `Node.__repr__()`
The class has a size attribute so it makes sense to use the standard `__len__()` method to access it instead of relying on it being a public attribute.
The following code: ```python bst = RedBlackTree() bst.insert(1) bst.insert(2) bst.insert(3) bst.print_tree() ``` produces the following output: ``` R---- 2(BLACK) L---- 1(RED) R---- 3(RED) ``` I feel the following would be...
There is a extended UML format that I feel could be used to visualize the tree structure quite well: ``` @startmindmap *[#red] \rotatebox{90}{Root Entry} **[#black] \rotatebox{90}{} **[#black] \rotatebox{90}{\textcolor{white}{PROJECT}} ***[#red] \rotatebox{90}{PROJECTwm}...
https://www.thecrag.com/en/climbing/united-states/tennessee/area/4262584302 It shows a bar for each grade up through 5.15b and says there is one route at each grade. Clicking the bar brings up the query report builder and...
The printError function should be in a jest setup file. Tests should expect it to be empty. Now that I have test environment working, it needs to be for errors,...
If a building is just a way or a multipolygon, the checkbox does nothing.