题目描述
Give n non‑negative integers, please find the least non‑negative integer that doesn’t occur in the n numbers.
输入
The first line is an integer T, representing the number of test cases.
For each test case:
The first line of each test case is an integer n.
The second line of each test case are n non‑negative integers ai.
(T ≤ 10, n ≤ 2 × 105, 0 ≤ ai < 231)
输出
for each test case, output a line with the answer