Given a set of letters {a, b, c, d, e, f, g, h, i, j, k, l, m}, we can list out

Loading

โœช Choose the correct option.

Given a set of letters {a, b, c, d, e, f, g, h, i, j, k, l, m}, we can list out all permutations of these letters in lexicographic (dictionary) order. The first three permutations in this list are abcdefghijklm, abcdefghijkml and abcdefghijlkm and the last one is mlkjihgfedcba. What permutation would appear immediately after the following one in this lexicographically ordered list of permutations?
bcjameflkihgd

A. bcjameglkihfd
B. bcjamegdfhikl
C. bcjalefmkihgd
D. bcjameflkihdg

Leave a Comment