Arrays

Find Missing Number

easy
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.
Hint steps(0/2 revealed)
  1. 1

    Complete previous step or reveal to unlock this hint.

  2. 2

    Complete previous step or reveal to unlock this hint.