※ 引述《JerryChungYC (JerryChung)》之銘言:
: https://leetcode.com/problems/missing-number/
: 268. Missing Number
: 給一個包含[0, n]範圍內不同數字的陣列nums,傳回範圍內唯一缺少的數字
: Example 1:
: Input: nums = [3,0,1]
: Output: 2
: Example 2:
: Input: nums = [0,1]
: Output: 2
: Example 3:
: Input: nums = [9,6,4,2,3,5,7,0,1]
: Output: 8
: Python3 code:
: