Empresa engajada
How would you duplicate a string without using a temp variable?
Sigiloso
var1 = 1011 var2 = 0010 var1 = var1 xor var2 // var1 = 1001 var2 = var1 xor var2 // var2 = 1011 var1 = var1 xor var2 // var1 = 0010 var1 = 0010 var2 = 1011
something to do with XORing the bits
Maybe iterate through it with a loop? Or recurse (not sure about the latter)
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.