for an array string sorting in alphabetically if there are present upper or lower of same letter they arrange in alphabetically | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

for an array string sorting in alphabetically if there are present upper or lower of same letter they arrange in alphabetically

To check code go to my profile and check Question no 1. Here I have create most part of code just small numeric part isn't solve can any one solve it https://code.sololearn.com/cN3mFsj314D7/?ref=app

6th Nov 2019, 9:41 PM
VikaSh YadaV
VikaSh YadaV - avatar
2 Answers
+ 2
What is your expected output? Are you need total string to in alphabetical order?
6th Nov 2019, 10:03 PM
Jayakrishna 🇮🇳
+ 1
Alphabets are sorted according to their ASCII values. So always the string starting with a capital letter will come before the string starting with a small letter. You could have used just an ArrayList to check it and it would have hardly took 10 lines to code.
7th Nov 2019, 3:01 AM
Avinesh
Avinesh - avatar