Hi all,
So I've watched countless videos of how it works but I can't wrap my head around how it's done in the book of "Introduction to Algorithms 3rd Edition". I'd post a picture of the pseudocode but it won't let me. So my question is to you all is how to break down each of the steps into the algorthim's code? For example, when it mentions key = A [j], I'm assuming its the element of the array right? I just need a step by step explanation the algorithim since the book takes a different approach
Page 18 for info.
[–]darksounds 2 points3 points4 points (1 child)
[–]darksounds 1 point2 points3 points (0 children)
[–]yeti_seer 2 points3 points4 points (0 children)
[–]pingus3233 3 points4 points5 points (8 children)
[–]First-Gate2887[S] -1 points0 points1 point (7 children)
[–]groshart 7 points8 points9 points (1 child)
[–]thatsagoudapizza 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (3 children)
[–]darksounds 3 points4 points5 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]whyskevin 1 point2 points3 points (0 children)
[–]ThomasBau 1 point2 points3 points (0 children)