Frage im Vorstellungsgespräch bei Arista Networks

Normal basic leetcode question. Finding missing numbers, Palindrome, etc