It is a very common mistake people make in this kata. You now have to learn the difference between sorting a list of strings and sorting a list of numbers. Have fun!
Here is a full comparison as an example:
Int String
542 6 MAX
54 542
29 54
6 5
5 4
4 4
4 29
1 1
0 0
-3 -64
-6 -6
-64 -3
-214 -214 MIN
This comment is hidden because it contains spoiler information about the solution
It is a very common mistake people make in this kata. You now have to learn the difference between sorting a list of strings and sorting a list of numbers. Have fun!
Here is a full comparison as an example:
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution