Find the lexicographic ordering of the bit strings given below based on the ordering $0<1$.
Choose the correct answer from the options given below:
Lexicographic ordering (or dictionary ordering) since 0<1 0 appears before 1
Right ans option B) 0001<001<010<0101<011
for better understanding replace 0 by A and 1 by B now arrange alphabetically
AAAB<AAB<ABA<ABAB<ABB
64.3k questions
77.9k answers
244k comments
80.0k users