Arista Networks interview question

bit operations, pointer, tree traversal