def adata_parameterized(request):
    return gen_adata(shape=(200, 300), X_type=request.param)
def kth(root, k):
    if k < size(root.left):
        return kth(root.left, k)
    elif k > size(root.left):
        return kth(root.right, k - size(root.left) - 1)
    return root.key