Title Selection sort modification placing even before odd
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-bj-4-sort-107
Platform Name CodeCheck
Features Code Completion
Description Implement a modification of the SelectionSorter class that reorders the array to have even elements followed by odd ones. Follow the basic steps of the selection sort algorithm. Locate the next even element and swap it with the current one. The algorithm places the even elements first, maintaining their original order. The odd elements may be in a different order. For example,
Keywords Sorting and Searching
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-bj-4-sort-107
Protocol SPLICE, LTI 1.1
Protocol URL
License https://creativecommons.org/licenses/by-nc-nd/4.0/
Programming Language Java
Natural Language en

Preview

SPLICE Output