Arista Networks Interview Question

Comparing string versions