会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ACBingo
Bingo的笔记本
新随笔
联系
订阅
管理
2021年6月14日
[LeetCode] 374. 猜数字大小
摘要: 考察二分的一种写法,注意数据的溢出 public class Solution extends GuessGame { public int guessNumber(int n) { int left = 1; int right = n; while (left <= right) { int m
阅读全文
posted @ 2021-06-14 23:55 ACBingo
阅读(22)
评论(0)
推荐(0)
编辑
公告