Computer Science, asked by lakshinkumar1712, 1 year ago

Given an array of both positive and negative integers, the task is to compute sum of minimum and maximum elements of all sub-array of size k.

Answers

Answered by Anonymous
4

Explanation:

Given an array of integers and a number x, find the smallest subarray with sum ... A simple solution is to use two nested loops . ..... Initialize current sum and minimum length .

Answered by Brâiñlynêha
5

Explanation:

Given an array of both positive and negative integers, the task is to compute sum of minimum ... elements Of Sub-array Size k.

Similar questions