Please explain how to solve this problem?

The solution for this problem is similar to above problem>
shortest subarrys with sum atleast k?

hello @sahazeer123
please check ur deque playlist,
there bhaiya has discussed this problem.

Problem name : shortest subarray with sum atleast k it is not discussed in deque playlist.Could you please provide intuition as how to solve this problem?

@sahazeer123
pls refer this video tutorial by prateek bhaiya

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.