what os the value of (f/i)
Answers
Answered by
0
Answer:
Given an unsorted array A of N integers,
A_{1}, A_{2}, ...., A_{N}. Return maximum value of f(i, j) for all 1 ≤ i, j ≤ N.
f(i, j) or absolute difference of two elements of an array A is defined as |A[i] – A[j]| + |i – j|, where |A| denotes
the absolute value of A.
pls Mark as brainliest and follow me please please please please please please please please please please please please please please please please please please please
Similar questions