Editing Talk:1685: Patch
Please sign your posts with ~~~~ |
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 32: | Line 32: | ||
:Uhm yes, it should be clear right below these comment on the main page? All categories are listed at the bottom of each page. --[[User:Kynde|Kynde]] ([[User talk:Kynde|talk]]) 07:01, 26 May 2016 (UTC) | :Uhm yes, it should be clear right below these comment on the main page? All categories are listed at the bottom of each page. --[[User:Kynde|Kynde]] ([[User talk:Kynde|talk]]) 07:01, 26 May 2016 (UTC) | ||
β | It might be worth explaining the [pivot] * (len(a) - (len(l) + len(r))) since that threw me when I first saw it. Since l has the elements of a < pivot, and r has the elements of a > pivot, len(a) - (len(l) + len(r)) will be the number of elements in a that = pivot | + | It might be worth explaining the [pivot] * (len(a) - (len(l) + len(r))) since that threw me when I first saw it. Since l has the elements of a < pivot, and r has the elements of a > pivot, len(a) - (len(l) + len(r)) will be the number of elements in a that = pivot, and these are then 'spliced' into the result between the result of quicksorting l and r. |
[[User:Jstout|Jstout]] ([[User talk:Jstout|talk]]) 19:48, 26 May 2016 (UTC) | [[User:Jstout|Jstout]] ([[User talk:Jstout|talk]]) 19:48, 26 May 2016 (UTC) | ||