Amdocs interview question

sort array of words

Interview Answer

Anonymous

8 Apr 2021

Convert words tocharArray and sort them,put them on their place.Now sort the whole array using Array.sort(arr)..