Pregunta de entrevista de Cisco

1.reversing string without temp variable. 2. reversing bits in an integer ( not one's complement)