<prompt> Ngola algorithm ho hlophisa bocha lethathamo la linomoro hore e be tse nang le linomoro tse mpe ka pele.3, -4, 2, -1, 7  <response>: Instruction in English: Write an algorithm to rearrange an array of integers into an array with all negative integers in the front. . Response in English: Step 1: BeginStep 2: Define the input array 3, -4, 2, -1, 7Step 3: Create an empty array list to store the rearranged arrayStep 4: Using a for loop, iterate through each element of the arrayStep 5: Within the loop, check if the element is less than 0 negativeStep 6: If yes, then insert the element in the front of the new array listStep 7: If no, then insert the element at the end of the new array listStep 8: Continue the loop until all elements in the input array are iterated Step 9: Convert the new array list into an array Step 10: Return the final rearranged arrayStep 11: End . Response in Sesotho: Mohato oa 1: Qala Mohato oa 2: Hlalosa sehlopha sa ho kenya 3, -4, 2, -1, 7 Mohato oa 3: Etsa lethathamo le se nang letho ho boloka lethathamo le lokiselitsoeng bocha Mohato oa 4: Sebelisa bakeng sa lupu, pheta karolo ka ngoe ea sehlopha Mohato oa 5: Ka hara lupu, hlahloba hore na elemente e ka tlase ho 0 negative Mohato oa 6: Haeba ho joalo, kenya elemente ka pele ho lenane le lecha la lethathamo Mohato oa 7: Haeba che, kenya elemente ho Qetello ea lethathamo le lecha la lethathamo Mohato oa 8: Tsoela pele ho lupu ho fihlela likarolo tsohle tse lethathamong la lintho tse kentsoeng li phetoa Mohato oa 9: Fetolela lethathamo le lecha le hlophisitsoeng Mohato oa 10: Khutlisetsa lethathamo la ho qetela le hlophisitsoeng Mohato oa 11: Qetella. 