Arista Networks interview question

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