Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
831 views

What is the fastest way to sort numbers lexicographically?

I have $N$ sequences of numbers. None of them is longer than $10^6$. I want to sort those sequences lexicographically. For example, given sequences {1, 2, 4}, {1, 2, 3}, {2, 5, 7}, {2}, I want to have ...
Userbejian29's user avatar