前言
嗨喽,大家好呀~这里是爱看美女的茜茜呐 一、isdigit()
python关于 isdigit() 内置函数的官方定义:
S.isdigit() -> bool Return True if all characters in S are digitsand there is at least one character in S, False otherwise.翻…
题目描述
一个长度为n-1的递增排序数组中的所有数字都是唯一的,并且每个数字都在范围0~n-1之内。在范围0~n-1内的n个数字中有且只有一个数字不在该数组中,请找出这个数字。示例 解答
一眼二分法
class Solution {public int mi…