Skip to content

Commit 62b9359

Browse files
committed
2 parents 3c259b6 + c036bf8 commit 62b9359

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codes/max_average_subarray.mojo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Find the maximum average of any contiguous subarray of length k from the array.
1+
# Find the maximum average of any contiguous subarray of length k(window size) from the array.
22

33
fn find_max_average(read nums: List[Int], window_size: UInt) -> Float16:
44
length = len(nums)

docs/max_average_subarray.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Find the maximum average of any contiguous subarray of length k from the array.
1+
### Find the maximum average of any contiguous subarray of length k(window size) from the array.
22

33
```python
44
fn find_max_average(read nums: List[Int], window_size: UInt) -> Float16:

0 commit comments

Comments
 (0)