<prompt> Ngola algorithm ho hlophisa lethathamo le latelang u sebelisa mofuta oa ho kenya.3, 2, 4, 1, 5  <response>: Instruction in English: Write an algorithm to sort the following array using insertion sort. . Response in English: Here is the algorithm to sort the given array using insertion sort. Let input array be arr1. Start from the second element of the array, arri, and iterate till the last.2. Set variable key to arri.3. Set variable j to i-1.4. While j is greater than or equal to 0 and arrj is greater than the key, move arrj to j1 position.5. Set arrj1 to the key.6. Repeat steps 2-5 for all the values of i till the end.7. The final array obtained will be the sorted array.Implementation with the given input array:arr 3, 2, 4, 1, 51. The iteration starts with i 1 second element, i.e., key arr1 22. j is set as 0 and arrj is 3 which is greater than 2. So, arrj1 becomes arr1 3.3. arrj1 arr01 key, so now arr0 2. The array is now 2, 3, 4, 1, 5.4. When i 2, key arr2 4. As 4 is greater than 3, no changes are made and i is incremented to 3.5. key arr3 1, j 2. As arr2 is greater than 1, arr3 becomes 4. The array is now 2, 3, 4, 4, 5.6. Now j is decremented and is checked for other values. As all the values of arrj till 0 are greater than 1, j1 is set to the key at each iteration. Final array after this iteration becomes 1, 2, 3, 4, 5.7. The last value of i is 4 which gives key arr4 5. As it is greater than all the values, no changes are made and the array remains the same. Output:1, 2, 3, 4, 5 . Response in Sesotho: Mona ke algorithm ea ho hlophisa lethathamo le fanoeng u sebelisa mofuta oa ho kenya. Let input array be arr 1. Qala ho tloha karolong ea bobeli ea lethathamo, arri, me u phete ho fihlela qetellong. 2. Beha key e fapaneng ho ari. 3. Beha phapang j ho i-1. 4. Ha j e le kholo ho feta kapa e lekana le 0 le arrj e kholo ho feta senotlolo, suthela arrj ho j1 boemo. 5. Beha arrj1 ho senotlolo. 6. Pheta mehato ea 2-5 bakeng sa litekanyetso tsohle tsa i ho fihlela qetellong. 7. Sehlopha sa ho qetela se fumanoeng e tla ba sehlopha se hlophisitsoeng. Ho kenngwa tshebetsong ka letoto le fanoeng: arr 3, 2, 4, 1, 5 1. Phetoho e qala ka i 1 elemente ea bobeli, ke hore, senotlolo arr1 2 2. j e behiloe joalo ka 0 le arrj ke 3 e kholo ho feta 2. Kahoo, arrj1 fetoha arr1 3. 3. arrj1 arr01 key, joale arr0 2. Sehlopha se hona joale 2, 3, 4, 1, 5. 4. Ha ke 2, senotlolo arr2 4. Kaha 4 e kholo ho feta 3, ha ho liphetoho tse etsoang me ke eketsoa ho 3. 5. senotlolo arr3 1, j 2. Joalo arr2 e kholo ho feta 1, arr3 e fetoha 4. Lethathamo la hona joale 2, 3, 4, 4, 5. 6. Hona joale j e fokotsehile me e hlahlojoa bakeng sa litekanyetso tse ling. Ha litekanyetso tsohle tsa arrj ho fihlela 0 li le kholo ho feta 1, j1 e behiloe ho senotlolo nako le nako ha ho phetoa. Sehlopha sa ho qetela ka mora ho pheta-pheta sena se fetoha 1, 2, 3, 4, 5. 7. Ntho ea ho qetela ea i ke 4 e fanang ka senotlolo arr 4 5. Kaha e kholo ho feta litekanyetso tsohle, ha ho liphetoho tse etsoang me sehlopha se lula se le joalo. Sephetho: 1, 2, 3, 4, 5 