Arista Networks Interview Question

Answer a coding question