Empresa engajada
Create a method that returns the reverse of a given string.
Sigiloso
String reverse(String str) { if (str == NULL) return NULL; String rev = ""; int len = str.length(); for (int i = 0; i < len; i++) { rev += str[(len - 1) - i]; } return rev; }
Fique por dentro de todas as oportunidades e dicas internas seguindo as empresas de seus sonhos.
Comece a buscar vagas para receber atualizações e recomendações personalizadas.