We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d718122 commit c036bf8Copy full SHA for c036bf8
codes/max_average_subarray.mojo
@@ -1,4 +1,4 @@
1
-# Find the maximum average of any contiguous subarray of length k from the array.
+# Find the maximum average of any contiguous subarray of length k(window size) from the array.
2
3
fn find_max_average(read nums: List[Int], window_size: UInt) -> Float16:
4
length = len(nums)
0 commit comments