Arista Networks Interview Question

bit manipulation questions like checking number of set bits in an integer