You did a great job explaining it, you got a new subscriber
@jeevankishorem76506 ай бұрын
Beautiful and simple explaination. I subscribed the channel for its similicity.
@Edpantz2 жыл бұрын
Super clear and simple explanation!
@shivashankar60432 жыл бұрын
thanks for creating,
@UnsentPH2 жыл бұрын
very clean and clear, thank you
@KaisarAnvar Жыл бұрын
Conclusion: Correct index for 1 to N is arr [ i ] - 1. So, if ( arr [ i ] != arr [ correctIndex ] ) , swap these elements. For 0 to N, each element sits on its own index location (element 0 at 0th index etc).