主页 返回 进入列表

  • 总根 >计算机与教育 >课程 >高等教育课程 >本科课程 >计算机科学概论 >zstu-(2019-2020-1) class >2019339900036-张魁

  • hw4-2

    Compare adjacent elements. If the first one is bigger than the second, exchange them for two.
    Do the same for each pair of adjacent elements, starting with the first pair and ending with the last pair. At this point, the last element should be the largest number.
    Repeat the above steps for all elements except the last one.
    Continue to repeat the above steps each time for fewer and fewer elements until no pair of numbers needs to be compared.


    全文(Full Article): https://www.yvsou.com/dc/single.php?groupid=28.218.81608.81609.81613.9493.85286.85561&pid=1326191&startgroup=