Click here to Skip to main content
15,906,081 members

Comments by 5atyam5rivastava (Top 1 by date)

5atyam5rivastava 15-Sep-20 7:36am View    
Thank you so much. I got the logic error. I am referencing to pos but everytime the list being passed to find_min() is different and the min returned from the the function is relative to the array passed, not to the original array, hence I need to do (pos+i),
Thank You.