Reputation: 532
Simple one, but looking for a sanity check. If I'm asked to find the lexicographically smallest list - this has nothing to do with the actual length of the list, right? It's just element wise comparison where [0,7] would be lexicographically smaller than [7,7], for example? Thanks very much!
Upvotes: 0
Views: 355