Jump to content

User talk:Lizheng02

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Welcome!

[edit]

Hello, Lizheng02, and welcome to Wikipedia! Thank you for your contributions. I hope you like the place and decide to stay. Here are a few links to pages you might find helpful:

You may also want to take the Wikipedia Adventure, an interactive tour that will help you learn the basics of editing Wikipedia. You can visit The Teahouse to ask questions or seek help.

Please remember to sign your messages on talk pages by typing four tildes (~~~~); this will automatically insert your username and the date. If you need help, check out Wikipedia:Questions, ask me on my talk page, or click here to ask for help on your talk page, and a volunteer should respond shortly. Again, welcome! CiaPan (talk) 06:15, 4 November 2015 (UTC)[reply]

Quicksort

[edit]

I have reverted your edit to the Quicksort article (see [1]). Your modifiction made the algorithm wrong: if all items of an array are equal, your modified loops will go with indices out of the array limits. With stopping on values equal to the pivot, the pivot serves as a sentinel value to stop scanning. --CiaPan (talk) 06:25, 4 November 2015 (UTC)[reply]