We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b355d3 commit 8762b51Copy full SHA for 8762b51
data_structures/stacks/lexicographical_numbers.py
@@ -1,6 +1,6 @@
1
def lexical_order(max_number: int) -> str:
2
"""
3
- Generate numbers in lexical order from 1 to max_number and return them as a space-separated string.
+ Generate numbers in lexical order from 1 to max_number.
4
5
>>> lexical_order(13)
6
'1 10 11 12 13 2 3 4 5 6 7 8 9'
0 commit comments