0
In langage C
How to Write a function that sorts a table. This function uses pointers. The table elements must only have the values from 0 to 9 with the following criteria: - All elements whose value is strictly below 3 are at the beginning of the table, all the elements between 3 and 6 are in the middle and all the elements greater than 6 at the end of the table
3 Answers
0
Itâs fairly easy.
You just have to make a new table, then do O(n*10) algorithm to the original table and find every 0,1,2,...9 and put the element in increasing order.
0
You can write it please
0
give me your current code that has a table but not sorted yet