Computer Science, asked by harimekala81, 4 days ago

Geographical Survey

While creating geographical survey for systematic investigation of geology in the process of creating geology map aerial Photography is performed. Whole set of geographical high points will be passed on to the system, passing the window on throughout the set the higher points from the window will be stored in the database. And in the final process the engineers will only focus on this new set of higher points.

11

12

13

14

Given an array of integers points, there is a sliding window of size k which is moving from the left of the array to the right.

While parsing the window we can only see the k numbers in the window. Each time the sliding window moves right by one position.

For an example 0

Input:

points = [1,3,-1,-3,5,3,6,7] and k=3

Output: [3,3,5,5,6,7]

Answers

Answered by rdtejasri11
0

Answer:

what is this nonsense send photo not like this please

Similar questions