Editing Talk:1685: Patch

Jump to: navigation, search
Ambox notice.png 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 (which must be in the range [1, len(a)]), and these are then 'spliced' into the result between the result of quicksorting l and r.
+
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)
  

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)

Templates used on this page: