Arista Networks Interview Question

rotate a unsigned char s by n bits

Interview Answer

Anonymous

Feb 1, 2013

(s>>n)|(s<<(8-n))

7