Empresa engajada
Reverse a string in-place using C.
Sigiloso
void reverse(char *str) { char *end = str + strlen(str) - 1; while (end > str) { char t = *str; *str = *end; *end = t; str++; end--; } }
You rated the interview as "Very Difficult", and yet the questions you posted are trivially easy and very common, was that supposed to be some sort of joke? :(
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.