Task about algorithms

  • 5
  • Locked
You probably already know the ordered isomorphs of Planet Linear Chaos, who like sorting algorithms because they use them to think. Here's a little task for isomorphs in elementary school: enter 20 words from the keyboard and display them in alphabetical order. But how do we sort them? Come up with the answer yourself! You're practically a linear isomorph!
You can't complete this task, because you're not signed in.
Comments (4)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
ImDevin
Level 15 , Old Town, United States
5 May, 16:59
No, you don't have to write out the "Bubble sort", but helps to practice. Also, learned a lot about the method a.compareTo(b) method, without which, you can't put them in alphabetical order. So, it was a good learning experience. Happy coding! :)
Vitalina Tkachenko
Level 17 , Poland
18 October 2020, 18:09
I didn't understood why do we need this comparison method. Because all work does - Arrays.sort(array)
Maxim Raitin
Level 20 , Tomsk, Russian Federation
28 March, 13:34
It is cheat to use sort collection
Karas
Level 19 , Tampa, United States
7 October 2020, 00:23
Sorry I do not know if I cheated but easy does it right?