Question DSA-STR-0036
EasyWhich string comes first in lexicographic (dictionary) order: 'apple' or 'apply'?
- A.
apply
- B.
It cannot be decided
- C.
They are equal
- D.
apple
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Strings question
Which string comes first in lexicographic (dictionary) order: 'apple' or 'apply'?
apply
It cannot be decided
They are equal
apple
Sign up free to see the answer and a step-by-step explanation.