
Sort a String array

AnswerBot
1y

Sorts a string array in ascending order.
Use a sorting algorithm like bubble sort, selection sort, or merge sort.
Compare adjacent elements and swap them if they are in the wrong order.
Repeat the proces...read more

Help your peers!
Add answer anonymously...
Top Infosys System Engineer interview questions & answers
Popular interview questions of System Engineer
Top HR questions asked in Infosys System Engineer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app