题目:从 0,1,2,...,n 这 n+1 个数中选择 n 个数,选择出的数字依然保持有序,找出这 n 个数中缺失的那个数,要求 O(n) 或 O(log(n)) 并尽可能小。
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务