Arista Networks Interview Question

Quick C exercices including a dichotomic search.