News

Given an integer array nums and an integer k, return the length of the shortest non-empty subarray of nums with a sum of at least k. If there is no such subarray, return -1. A subarray is a contiguous ...
Improve this page Add a description, image, and links to the variable-length-array topic page so that developers can more easily learn about it.
Learn how this popular Python library accelerates math at scale, especially when paired with tools like Cython and Numba.