Can someone explain how this works and how can i do the exact process for this array [7,-3,12,5,-1,5,0,16,9,7] since there is same numbers in this list im confused about it I also didnt understand in this process there is p q j and r. In the videos i have watched on youtube there is only i and j. The picture i sent is from khan academy and this is the format i will be having in the exam so im tryna understand it. Thank you for the responses