How to approach array operation based question

Правка en2, от D3C0d3r, 2023-01-10 20:35:57

Hi everyone I'm practicing cp and always get some Special type of question where they ask to solve a question Related to array where they say u r given an array and can perform some operation like chose 2 index and do this and can repeat some number of time... I think u get the idea what I'm talking about... Can anyone tell me how to approach this kind of question since brute force always very expensive. Please I'm waiting for some lovely responses ....

Теги array, cp tricks

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский D3C0d3r 2023-01-10 20:35:57 2 Tiny change: 'onses ....' -> 'onses ....\n'
en1 Английский D3C0d3r 2023-01-10 20:07:57 511 Initial revision (published)