Skip to content

Commit e8e3022

Browse files
Fix grammar: add missing 'is' in website text (#1482)
Corrected a grammatical error by adding the missing verb 'is' in the website content. This ensures proper sentence structure and improves readability.
1 parent 6bc8214 commit e8e3022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data_structures/stack_queue_modification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ first we will modify a stack in a way that allows us to find the smallest elemen
1111

1212
## Stack modification
1313

14-
We want to modify the stack data structure in such a way, that it possible to find the smallest element in the stack in $O(1)$ time, while maintaining the same asymptotic behavior for adding and removing elements from the stack.
14+
We want to modify the stack data structure in such a way, that it is possible to find the smallest element in the stack in $O(1)$ time, while maintaining the same asymptotic behavior for adding and removing elements from the stack.
1515
Quick reminder, on a stack we only add and remove elements on one end.
1616

1717
To do this, we will not only store the elements in the stack, but we will store them in pairs: the element itself and the minimum in the stack starting from this element and below.

0 commit comments

Comments
 (0)