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 hintsTopics
Also asked at 20 companies
More Arista Networks Questions
Find the Town JudgeEasyConstruct String With Repeat LimitMediumRotated DigitsMediumContains Duplicate IIEasyCopy List with Random PointerMedium
View all Arista Networks questions