shell_sort
Sorts numeric arrays using Shell sort while tracking gap sequences, comparisons, and swaps for performance analysis.
Instructions
Sort an array using Shell sort with gap sequence tracking, comparison and swap counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| array | Yes | Array of numbers to sort (max 100,000 elements) |