Amdocs Interview Question

sort array of words

Interview Answer

Anonymous

Apr 8, 2021

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