• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

想起来的名字

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2017年3月4日

13. Roman to Integer ★

摘要: 题目内容: Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 题目分析:罗马数字向阿拉伯数字的转换情况如下: 1、M=1000 D=5 阅读全文

posted @ 2017-03-04 23:32 想起来的名字 阅读(161) 评论(0) 推荐(0)

7. Reverse Integer Add to List★

摘要: 题目内容: Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 题目分析:反转的方法很简单,重点在于判断溢出的问题,下面给出了两种方法。 方法一: 判断溢出方法:在执行完 阅读全文

posted @ 2017-03-04 22:11 想起来的名字 阅读(133) 评论(0) 推荐(0)

1. Two Sum★

摘要: 题目内容:Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would ha 阅读全文

posted @ 2017-03-04 21:52 想起来的名字 阅读(41) 评论(0) 推荐(0)

1. Two Sum★

摘要: 题目内容:Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would ha 阅读全文

posted @ 2017-03-04 21:45 想起来的名字 阅读(134) 评论(0) 推荐(0)

 
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3