okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
0fff115df
main
1[long2 BST] prompt_n=1922 cache_n=0 prompt 445.1 tok/s | decode 256 tok 55.5 tok/s | drafts 183/213 | wall 9.0s | finish length 2[long2 turn2] prompt_n=284 cache_n=1915 prompt 177.0 tok/s | decode 256 tok 72.5 tok/s | drafts 211/217 | wall 5.1s | finish length 3```python 4class BinarySearchTree: 5 """A binary search tree implementation with insert, search, delete, and in-order traversal.""" 6 7 class Node: 8 """Internal node of the binary search tree.""" 9 10 def __init__(self, value): 11 """Initialize a node with a value and no children.""" 12 self.value = value 13 self.left = None 14 self.right = None 15 16 def __init__(self): 17 """Initialize an empty binary search tree.""" 18 self.root = None 19 20 def insert(self, value): 21 """Insert a value into the binary search tree. 22 23 Args: