跳至內容

Chéng-lia̍t ián-sǹg-hoat

Wikipedia (chū-iû ê pek-kho-choân-su) beh kā lí kóng...

Chéng-lia̍t ián-sǹg-hoat (eng. sorting algorithm) sī kok khoán thang kā chi̍t chōa hāng-bo̍k chiàu it-tēng sūn-sī pâi-lia̍t ê ián-sǹg-hoat. Siāng phó͘-thong ê sūn-sī sī sò͘-bo̍k-sek sūn-sī (numerical order) kap gú-lūi-sek sūn-sī (lexicographical order). Nā beh kái-siān kî-tha chhan-chhiūⁿ chhâ-sûn (search) kap pēng-ha̍p (merge) khang-khòe ê ūn-choán hāu-lu̍t, chéng-lia̍t ê hāu-lu̍t sī chin tiōng-iàu. Chéng-lia̍t tùi chu-liāu ê phiau-chún-hòa (canonicalization) chiâⁿ ū lī-e̍k, koh thang seng-sán sek-ha̍p lâng tha̍k ê chu-liāu su-chhut.