NIMCET 2016 Mathematics PYQ — The permutations of {a, b, c, d, e, f, g} are listed in lexicogra… | Mathem Solvex | Mathem Solvex
Tip:A–D to answerE for explanationV for videoS to reveal answer
NIMCET 2016 — Mathematics PYQ
NIMCET | Mathematics | 2016
The permutations of {a, b, c, d, e, f, g} are listed in lexicographic order. Which of the following permutations are just before and just after the permutation bacdefg?
Choose the correct answer:
A.
agfedbc and bacdfge
B.
agfedbc and badcefg
C.
agfebcd and bacedgf
D.
agfedcb and bacdegf
(Correct Answer)
Correct Answer:
agfedcb and bacdegf
Explanation
Concept: Lexicographic order is the order in which the words appear in the dictionary For the word before and after check starts from the left end Application: Set is {a, b, c, d, e, f, g} The word before bacdefg is agfedcb The word after bacdefg is bacdegf
Explanation
Concept: Lexicographic order is the order in which the words appear in the dictionary For the word before and after check starts from the left end Application: Set is {a, b, c, d, e, f, g} The word before bacdefg is agfedcb The word after bacdefg is bacdegf