Pergunta de entrevista da empresa Hurricane Electric

Which is shorter, the path drawn in comic a or comic b?