RosettaCodeData/Task/Sort-numbers-lexicographically/00-TASK.txt

15 lines
294 B
Plaintext

{{Sorting Algorithm}}
;Task:
Given an integer   '''n''',   return   '''1──►n'''   (inclusive)   in lexicographical order.
Show all output here on this page.
;Example:
Given   '''13''',
<br>return: &nbsp; '''[1,10,11,12,13,2,3,4,5,6,7,8,9].'''
<br><br>