• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
ArgenBarbie
博客园    首页    新随笔    联系   管理    订阅  订阅
2016年8月31日
233. Number of Digit One *HARD* -- 从1到n的整数中数字1出现的次数
摘要: Given an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n. For example:Given n = 13,Return 阅读全文
posted @ 2016-08-31 23:31 ArgenBarbie 阅读(122) 评论(0) 推荐(0)
231. Power of Two 342. Power of Four -- 判断是否为2、4的整数次幂
摘要: 231. Power of Two Given an integer, write a function to determine if it is a power of two. 342. Power of Four Given an integer (signed 32 bits), write 阅读全文
posted @ 2016-08-31 23:27 ArgenBarbie 阅读(203) 评论(0) 推荐(0)
判断两个字符串相同
摘要: 判断两个字符串相同要用isEqualToString函数,只用“==”判断,结果会错误。 阅读全文
posted @ 2016-08-31 18:13 ArgenBarbie 阅读(263) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3