<prompt> Theha algorithm e hlophisang lethathamo le fanoeng ka tatellano e nyolohang.4, 5, 2, 1, 3  <response>: Instruction in English: Create an algorithm that sorts a given array in ascending order. . Response in English: Heres an example of a simple sorting algorithm called Bubble Sort, that can sort the given array in ascending order:1. Begin2. Set n as the length of the input array3. Repeat steps 4 to 6 n times4. Set i to 05. While i is less than n - 16. If element at index i is greater than element at index i1, then swap those elements7. Increment i by 18. EndLets run this algorithm for the given input array: 4, 5, 2, 1, 3n 5- First iteration: Compare the adjacent elements and swap if needed - 4 and 5 are in order, no swap - 5 and 2 are not in order, swap them, the array now becomes 4, 2, 5, 1, 3 - 5 and 1 are not in order, swap them, the array now becomes 4, 2, 1, 5, 3 - 5 and 3 are not in order, swap them, the array now becomes 4, 2, 1, 3, 5- End of first iteration, the largest element is at its correct position- Second iteration: Compare the adjacent elements except the last one and swap if needed - 4 and 2 are not in order, swap them, the array now becomes 2, 4, 1, 3, 5 - 4 and 1 are not in order, swap them, the array now becomes 2, 1, 4, 3, 5 - 4 and 3 are not in order, swap them, the array now becomes 2, 1, 3, 4, 5- End of the second iteration, the second-largest element is at its correct position- Third iteration: Compare the adjacent elements except the last two and swap if needed - 2 and 1 are not in order, swap them, the array now becomes 1, 2, 3, 4, 5 - The rest of the . Response in Sesotho: Mohlala ke ona oa algorithm e bonolo ea ho hlopha e bitsoang Bubble Sort, e ka hlophisang lethathamo le fanoeng ka tatellano ea ho nyoloha: 1. Qala 2. Beha n joalo ka bolelele ba lethathamo la ho kenya 3. Pheta mehato ea 4 ho isa ho 6 n. makhetlo a 4. Beha i ho 0 5. Ha i e le ka tlase ho n - 1 6. Haeba element ho index i e le kholo ho feta element ho index i1, joale fetola likarolo tseo 7. Keketso i ka 1 8. Qetella A re ke re tsamaise algorithm ena bakeng sa lethathamo le fanoeng la ho kenya: 4, 5, 2, 1, 3 n 5 - Poeletso ea pele: Bapisa likarolo tse haufi me u fetole ha ho hlokahala - 4 le 5 li ka tatellano, ha ho phapanyetsano - 5 le 2 ha li tatellano, li fapanyetsane, lihlopha joale li fetoha 4, 2, 5, 1, 3 - 5 le 1 ha li tatellano, li fapanyetsane, lihlopha. hona joale e fetoha 4, 2, 1, 5, 3 - 5 le 3 ha li tatellano, li fapanyetsane, lihlopha joale li fetoha 4, 2, 1, 3, 5 - Qetellong ea pheta-pheto ea pele, ntho e kholo ka ho fetisisa ke sebakeng sa eona se nepahetseng - Phetoho ea bobeli: Bapisa likarolo tse haufi ntle le ea ho qetela me u fapanyetsane ha ho hlokahala - 4 le 2 ha li hlophisitsoe, li fetole, lihlopha joale li fetoha 2, 4, 1, 3, 5 - 4 le 1 ha li tatellane, li fapanyetsane, lenane joale le fetoha 2, 1, 4, 3, 5 - 4 le 3 ha li tatellane, li fapanyetsane, lenane joale le fetoha 2, 1, 3, 4 , 5 - Qetellong ea ho pheta-pheta ha bobeli, ntho ea bobeli e kholo ka ho fetisisa e boemong ba eona bo nepahetseng - Pheta-pheto ea boraro: Bapisa likarolo tse haufi ntle le tse peli tsa ho qetela le ho fapanyetsana ha ho hlokahala - 2 le 1 ha li hlophisitsoe, li fetole, sehlopha hona joale se fetoha 1, 2, 3, 4, 5 - Ba bang kaofela ba 