Suggestion...by counting_pineIf you don't care about the order of the array, then it's not necessary to move the above elemenets down to cover the gap. Instead, why not just take the element at the top of the array, and plug the gap with that? You will have to move that element anyway, since it goes out of range. If you want to keep the array as a permutation, then you can do a straight swap. The unneeded element will be taken out of the range, but is still in the array, in case you wanted to find each element again later. from IP address 86.164.34.141 |
| Response Title | Author and Date |
| You are describing the Shuffle Sort! | Solitaire on Mar 30 |
| Posting hint, Sol | on Mar 31 |
| I never typed the url. I did a copy and paste on it. | Solitaire on Mar 31 |
| Amazing | on Mar 31 |
| * What gray box? What message text? I'm using IE. | Solitaire on Apr 1 |
| * The text box with the Font and Size Box at top of Message text | on Apr 1 |
| This grey box | on Apr 1 |
| Nope. I absolutely do not have any such box anywhere. | Solitaire on Apr 2 |
| * Maybe put network54 in your IE Trusted Zone | on Apr 2 |