Masm32 SDK description, downloads and other helpful links
Started by Mikl__, December 30, 2022, 09:02:57 AM
Quote from: Mikl__ on January 18, 2023, 12:49:21 AMFifth part
QuoteA multiple run through the array is performed, neighboring elements are compared and, if necessary, swapped. When the end of the array is reached, the direction is reversed. While moving to the beginning of the array, we find the maximum element and change it with the element that is at the end of the array. This pushes the minimum element to the beginning of the array. While moving to the end of the array, we find the minimum element and change it with the element that is at the beginning of the array. In this case, the maximum element is pushed to the end of the array. Thus, simultaneously during one pass, the maximum and minimum elements of the end and beginning of the array are filled.
Quote from: HSE on January 18, 2023, 01:46:28 AMHi JJ!Just now I realise how was that:https://wasm.in/threads/sortirovki-s-animaciej.34674/page-5
QuoteSounds good but I can't see an animation, and the "translated" zip archive isn't found...