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!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответ
+ 1
the whole string is sorted. sorted list will be : aac,abc,acb
3rd Apr 2016, 3:33 PM
johnson shijin
johnson shijin - avatar