Math, asked by kapoornaman5984, 1 year ago

Given a list ofintegers and n to return the subarray closest to sum n

Answers

Answered by tanmaybhere100
0

Answer:

Step-by-step explanation:

Given an array of positive and negative integers and an integer K. The task is to find the subarray which has its sum closest to k. In case of multiple answers, print any one.

Similar questions