Frage im Vorstellungsgespräch bei PayPal

Implement function that Revert the bits within unsigned int, using bit opperation

Antwort im Vorstellungsgespräch

Anonym

29. Mai 2012

unsigned int rev_bits(unsigned int n) { unsigned int res=0; int length = sizeof(unsigned int)*8; for(int i=0; i>=1; } return res; }