Find the 233rd subset of [12] with five elements in reverse lexicographic order.
I am a little confused with the difference between normal and reverse lexicographic order. I think I understand that in lexicographic order. The first few subsets would look like this: {1,2,3,4,5},{1,2,3,4,6},...,{1,2,3,4,12},{1,2,3,5,6}, and so on.
In reverse lexicographic order, would the first few subsets simply be {5,4,3,2,1},{6,4,3,2,1},...,{12,4,3,2,1},{6,5,3,2,1}? i.e. the same only read from right to left.
(Aside) So then, since there are ${12 \choose 5}$=792 subsets of size 5, the 233rd subset in reverse lexicographic order would be equal to the 559th subset in normal lexicographic order?