While sorting only first character is considered or whole string is considered for ex abc, acb, aac then, what will be the order of elements values in sorted way? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

While sorting only first character is considered or whole string is considered for ex abc, acb, aac then, what will be the order of elements values in sorted way?

23rd Mar 2016, 1:12 PM
Swapnil Gapchup
Swapnil Gapchup - avatar
1 Antwort
+ 1
the whole string is sorted. sorted list will be : aac,abc,acb
3rd Apr 2016, 3:33 PM
johnson shijin
johnson shijin - avatar