+ 3

Can someone explain the "lexicographical" thingy? I'm not able to understand that...

31st Dec 2015, 2:13 PM
Nooblearner
Nooblearner - avatar
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)
15th Jan 2016, 1:03 PM
Gaurav Singh
Gaurav Singh - avatar
+ 3
nicely explained @gauravsingh .. thankyou
28th Sep 2016, 2:30 PM
Somya Bhupal
Somya Bhupal - avatar
+ 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 :))
31st Dec 2015, 2:32 PM
Nooblearner
Nooblearner - avatar
0
Why does nobody upvote answers on this site?
23rd Dec 2016, 11:39 PM
Thomas Story
Thomas Story - avatar
0
Hhj
3rd Jan 2017, 3:31 PM
Muhammad Bello