Triple sum pair


bahiya isma numbers ko ascending order mai kaasa arrange kranga

hello @sehrawat
u r sorting ur array in descending order .
to sort it in ascending order

image

here it should be
a[j] > a[j+1]

nhi final answer mai
9

5 7 9 1 2 4 6 8 3

10

1,2 and 7

1,3 and 6

1,4 and 5

1,5 and 4

1,6 and 3

2,3 and 5

2,4 and 4
output repeat krta ha dono case mai

3rd or 4th output same hi to haana

start k from j+1

hacker block mai to compile hi nhi ho raha :upside_down_face:

it is working on my side, pls refresh ur tab and then try

@sehrawat

click on submit button and then send me the screenshot