Missing Number at Arista Networks

Easy71.6% acceptance

This problem has 75.0% frequency at Arista Networks.

Problem Description

Given an array `nums` containing `n` distinct numbers in the range `[0, n]`, return _the only number in the range that is missing from the array._

Read full problem and hints

Topics

Also asked at 20 companies


More Arista Networks Questions

View all Arista Networks questions