Arista Networks interview question

Based on bit manipulation, trees