Why can't we apply friends approach?

Idk if that's what its actually called but I would take the median value(s) and put them in the function to find least value but it's not working here

1

Please log in to comment and participate in discussions.

Comments (2)

G
gogol.n
•6mos
Correct

Friends approach se 67 he aa rha hai ,Ek bar modulus wala video dekh lo thik se ho jayega.

1

ok yeah sorry idk why i kept taking 5 and 6 as the median values. Sleep deprivation will kill me🥲

1