From a8e6ec8884b76da12f8179301e8e69a8c2b5a66e Mon Sep 17 00:00:00 2001 From: marina <138340846+bt3gl-cryptographer@users.noreply.github.com> Date: Mon, 7 Aug 2023 17:56:19 -0700 Subject: [PATCH] Update README.md --- stacks/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/README.md b/stacks/README.md index 1bb9713..543bfe8 100644 --- a/stacks/README.md +++ b/stacks/README.md @@ -9,7 +9,7 @@ * stacks are useful in **depth-first search** algorithms, where you can push temp data as you recurse, and remove them from the (memory or data structure) stack as you backtrace. -* to keep `find_min()` at `O(1)`, you can keep track of the minimum when pushing and poping: +* to keep `find_min()` at `O(1)`, you can keep track of "prior minimum" when pushing and poping: