Pergunta de entrevista da empresa Cisco

How ping works? Problems using Simple Data Structures and Algorithms