New course! Every coder should learn Generative AI!
Try a free lesson+ 2
can you sort array in this way?
sort array on the bese of last character of every element like in this array unsorted array: array('night','method','team','apple','election','dangerous') sorted array array('apple','election','night','team','method','dangerous') if last character not found then base on the next character of English alphabet
0 Answers