Metajuniornov. de 2024
Sort numbers based on whether they are odd or even
Rearrange the array by sorting elements at even indices in non-decreasing order and elements at odd indices in non-increasing order, then placing the sorted values back into their original parity positions. Return the resulting array.
Use esses exemplos para entender em que contexto ela costuma cair e adaptar sua prática.
Sort numbers based on whether they are odd or even
Nenhum anexo público associado a esta pergunta.
No app você encontra perguntas parecidas, compara empresas e aprofunda essa busca com mais filtros.