Pergunta de entrevista da empresa Arista Networks

Format a string (round 1) Find missing number in a list of consecutive numbers(round 2)