Daily-Coding-DS-ALGO-Practice icon indicating copy to clipboard operation
Daily-Coding-DS-ALGO-Practice copied to clipboard

Add leetcode question Shortest Subarray with Sum at Least K

Open Nikitajain2606 opened this issue 3 years ago • 1 comments

AIM-

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

Programming language

  • C++

Nikitajain2606 avatar Oct 01 '21 16:10 Nikitajain2606

hey @Ayush7614 assign this issue to me for hacktoberfest

Nikitajain2606 avatar Oct 01 '21 16:10 Nikitajain2606