+ 2
Challenge: Write a program for sorting ..
for eg. consider an array [4,8,2,9,1] and you can use any language to sort it to [1,2,4,8,9] And sorry ,,I forget to tell that condition that you should not use the keywords or functions like sort...
7 odpowiedzi
+ 18
use " Arrays.sort(arrayname); " in java
+ 8
use " sorted(<list>) "in Python..😉
+ 5
my try is here
https://code.sololearn.com/cfRMtyIOoK3q/?ref=app
+ 4
https://code.sololearn.com/cvo83lLZKJ1F/?ref=app
+ 2
Selection sorting in python.
https://code.sololearn.com/cStvLMCr8f30/?ref=app
+ 2
https://code.sololearn.com/w9mpyparDe2F/?ref=app