In the lexicographic ordering of the permutations of the set {A,B,C,D,E,F,G,H} ,
what is the next permutation after FAEGBDHC? (Assume the usual alphabetic order of letters.)
a. FEDGABCH
b. BDEHFGAC
c. None of the other answers is correct. d. FAEBHDCG
e. FAEGBHCD