• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
kakaxisisan
这里以后只放刷题了哦论文转战知乎了哦
博客园 首页 新随笔 联系 订阅 订阅 管理
上一页 1 2 3 4 5 6 ··· 10 下一页

2019年7月31日

56. Merge Intervals
摘要: description: Given a collection of intervals, merge all overlapping intervals.. Note: Example: answer: class Solution { public: vector merge(vector & 阅读全文
posted @ 2019-07-31 22:42 kakaxisisan 阅读(84) 评论(0) 推荐(0)
 
 

2019年7月30日

begin again
摘要: 今天,很神奇,和妈妈共用一个耳机一起散步听了妈妈的歌单 妈妈应该是没有看过 begin again 的 神奇神奇 阅读全文
posted @ 2019-07-30 22:40 kakaxisisan 阅读(127) 评论(0) 推荐(0)
 
55. Jump Game
摘要: description: 看是否能跳到最后. Note: Example: answer: relative point get√: hint : 就是一直维护一个最远距离 阅读全文
posted @ 2019-07-30 22:39 kakaxisisan 阅读(139) 评论(0) 推荐(0)
 
 

2019年7月29日

54. Spiral Matrix
摘要: description: 螺旋输出一个矩阵. Note: Example: answer: relative point get√: hint : 阅读全文
posted @ 2019-07-29 10:56 kakaxisisan 阅读(85) 评论(0) 推荐(0)
 
 

2019年7月26日

53. Maximum Subarray
摘要: description: Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. 阅读全文
posted @ 2019-07-26 21:57 kakaxisisan 阅读(93) 评论(0) 推荐(0)
 
 

2019年7月25日

52. N-Queens II
摘要: description: 八皇后 Note: Example: answer: class Solution { public: int totalNQueens(int n) { int res = 0; vector pos(n, 1); helper(pos, 0, res); return 阅读全文
posted @ 2019-07-25 20:49 kakaxisisan 阅读(99) 评论(0) 推荐(0)
 
 

2019年7月24日

51. N-Queens
摘要: description: 八皇后 Note: Example: answer: relative point get√: string(int n,char c); //用n个字符c初始化 hint : 阅读全文
posted @ 2019-07-24 21:42 kakaxisisan 阅读(109) 评论(0) 推荐(0)
 
1. 赋值运算符函数
摘要: https://github.com/zhulintao/CodingInterviewChinese2/blob/master/01_AssignmentOperator/AssignmentOperator.cpp 题目: 为 CMyString 类型添加赋值运算符函数 note: 把3返回值的 阅读全文
posted @ 2019-07-24 13:32 kakaxisisan 阅读(133) 评论(0) 推荐(0)
 
 

2019年7月23日

50. Pow(x, n)
摘要: description: Implement pow(x, n), which calculates x raised to the power n (xn). Note: Note: 100.0 0) return half half x; else return half half / x; / 阅读全文
posted @ 2019-07-23 18:39 kakaxisisan 阅读(138) 评论(0) 推荐(0)
 
 

2019年7月22日

49. Group Anagrams
摘要: description: Given an array of strings, group anagrams together Note: Note: All inputs will be in lowercase. The order of your output does not matter. 阅读全文
posted @ 2019-07-22 16:19 kakaxisisan 阅读(91) 评论(0) 推荐(0)
 
 
上一页 1 2 3 4 5 6 ··· 10 下一页

公告


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