🌈 搜索
📅  最后修改于: 2022-03-11 14:45:38.843000             🧑  作者: Mango
def solution(A): a = set(A) for i, _ in enumerate(A, 1): if i in a: continue return i solution(A) # 3