Domanda di colloquio di Northrop Grumman

Asked to write algorithm on board that takes an 8 bit binary value and returns the value in the inverse direction. Example: 10011100 would return 00111001