1456. Maximum Number of Vowels in a Substring of Given Length
Medium · solved 2026-09-24 · Open on LeetCode
sliding-windowstring
Time O(n) · Space O(1)
solution.py
class Solution:
def maxVowels(self, s: str, k: int) -> int:
# TODO: your solution
...Notes
Write your approach, insights, and mistakes here. Any other file in this folder (e.g. solution.py, attempt-1.py) is rendered below as code.