Strings 01-string class

what is lexicographical compare??in strings in compare of strings

@Advika-Singh-2434731860174719

lexicographical order means dictionary order .

for example if we have two strings ab and abc
then their lexicographical order will be ab and then abc because ab comes before abc in dictionary.

read more about it here-> https://en.wikipedia.org/wiki/Lexicographical_order