Posted on Jun 9
#challenge #python #beginners #programming
Return the length of the shortest contiguous subarray with sum >= target, or 0 if none.
Write min_subarray_len(nums, target).
Starter:
def min_subarray_len(nums, target):
# TODO
pass
Enter fullscreen mode Exit fullscreen mode
Solve it interactively in your browser (no setup), check your answer instantly, and keep your daily streak going on IWTLP: https://iwtlp.com/challenge
Top comments (0)
Subscribe
Templates let you quickly answer FAQs or store snippets for re-use.
Code of Conduct • Report abuse
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment’s permalink.
Hide child comments as well
For further actions, you may consider blocking this person and/or reporting abuse
답글 남기기