+ 3
Can someone explain the "lexicographical" thingy? I'm not able to understand that...
5 Réponses
+ 4
its not about who comes first it depends on the Ascii value of that character indirectly yeah you are right but there will be confusion when there is a uppercase letter n a lowercase letter like "A" have 65 in decimal and "a" have 97 value so if u compare B(66) will be smaller than "a"(97)
+ 3
nicely explained @gauravsingh .. thankyou
+ 2
Hey, I got it! >>> "a" < "b" True >>> "b" < "a" False It tries to say which comes ahead in alphabetical order Alphabets that come first are considered smaller than those that come next >>> "Spider" > "Snake" True 'Cause n comes before p and is therefore smaller :))
0
Why does nobody upvote answers on this site?
0
Hhj