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!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta
+ 1
the whole string is sorted. sorted list will be : aac,abc,acb
3rd Apr 2016, 3:33 PM
johnson shijin
johnson shijin - avatar