Consider the permutations of the letters, a to g. What is the next permutation immediately after (b, d, e, g, c, f, a) in the lexicographic order?
a) (b, d, e, g, f, a, c)
b) (b, d, e, g, f, c, a)
c) (b, d, f, a, c, e, g)
d) (b, d, f, a, c, g, e)

Q&A Education