Arista Networks interview question

General coding puzzles in C++.