Got this question in OA yesterday,can anyone solve this

Правка en4, от ram396, 2024-03-03 19:36:35

Given an array of size n.You need to select those two different indices such that quirk between them is maximum.Quirk Q(i,j)=

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский ram396 2024-03-03 19:36:35 14 Tiny change: 'is maximum\n![ ](/pr' -> 'is maximum.Quirk Q(i,j)=\n![ ](/pr'
en3 Английский ram396 2024-03-03 19:35:00 0 (published)
en2 Английский ram396 2024-03-03 19:34:36 73 Tiny change: 'aximum\n\n' -> 'aximum\n\n\n'
en1 Английский ram396 2024-03-03 19:29:14 170 Initial revision (saved to drafts)