• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
日常任务
天天挖坑
博客园 首页 新随笔 联系 订阅 订阅 管理

随笔分类 -  leetcode

leetcode && lintcode解题记录
 
379. Design Phone Directory
摘要:379. Design Phone Directory Design a Phone Directory which supports the following operations: Example: 阅读全文
posted @ 2016-11-19 23:10 fripSide 阅读(261) 评论(0) 推荐(0)
6-5日
摘要:Max Points on a Line开始无脑匹配结果超时:class Solution {public: int maxPoints(vector &points) { int ans = 0; for (int i = 0; i ans) ans = num... 阅读全文
posted @ 2014-06-05 11:16 fripSide 阅读(133) 评论(0) 推荐(0)
Reverse Words in a String
摘要:Reverse Words in a String反转一个字符串垃圾方法:#include #include class Solution {public: void reverseWords(string &s) { istringstream is(s); st... 阅读全文
posted @ 2014-05-22 22:39 fripSide 阅读(137) 评论(0) 推荐(0)
 

公告


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