From 505095a4c6f3d6862f111a86e7c6bf813011d01e Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 24 Oct 2024 14:33:14 -0400 Subject: [PATCH] Update documentation --- documentation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation.md b/documentation.md index 4fc34a5..3d58072 100644 --- a/documentation.md +++ b/documentation.md @@ -77,9 +77,9 @@ would be O(n log n). ### Stop Index -The *find_stop* method returns the smallest stop for which `prefix_sum(stop) >= value`, -or -1 if there is no stop that would satisfy the condition. The time complexity -is O(log n). +For a specified value, the *find_stop* method returns the smallest stop for +which `prefix_sum(stop) >= value`, or -1 if there is no stop that would satisfy +the condition. The time complexity is O(log n). >>> stop = fenwick_tree.find_stop(20)