Top "Lexicographic" questions

lexicographic or lexicographical order is a generalization of the way the alphabetical order of words is based on the alphabetical order of their component letters.

Lexicographic Order in Java

How is the lexicographic order defined in Java especially in reference to special characters like !, . and so on? An examplary …

java lexicographic
What is lexicographical order?

What is the exact meaning of lexicographical order? How it is different from alphabetical order?

string sorting lexicographic
Template within template: why "`>>' should be `> >' within a nested template argument list"

I know that when we are using template inside another template, we should write it like this: vector<pair&…

c++ templates compiler-construction vector lexicographic
How do I sort an ArrayList lexicographically?

I am trying to sort an ArrayList of Strings that represent card values. So, some cards contain letters ("King") and …

java string sorting arraylist lexicographic
Sort list of strings ignoring upper/lower case

I have a list which contains strings representing animal names. I need to sort the list. If I use sorted(…

python sorting lexicographic lexicographic-ordering
std::next_permutation Implementation Explanation

I was curious how std:next_permutation was implemented so I extracted the the gnu libstdc++ 4.7 version and sanitized the …

c++ c++11 permutation stl-algorithm lexicographic
Java: Three strings, lexicographic order

beginner Java programmer here. I am trying to compare three strings to each other, and have the system spit out …

java compareto lexicographic
Lexicographical sorting

I'm doing a problem that says "concatenate the words to generate the lexicographically lowest possible string." from a competition. Take …

algorithm lexicographic
Sorting list of strings in lexicographic order

I want to print the words in lexicographic order. I thought sorted() arranges the words in this way. I have …

python list sorting lexicographic