Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ lexicographical_numbers.py
File
lexicographical_numbers.py
data_structures/stacks/lexicographical_numbers.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
collections.abc
import
Iterator
2
3
4
def
lexical_order(max_number: int) -> Iterator[int]:
Callers
nothing calls this directly
Calls
1
lexical_order
Function · 0.85
Tested by
no test coverage detected