• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
neverlandly
博客园    首页    新随笔    联系   管理    订阅  订阅
2016年12月22日
Leetcode: Convex Polygon
摘要: https://discuss.leetcode.com/topic/70706/beyond-my-knowledge-java-solution-with-in-line-explanation https://discuss.leetcode.com/topic/70664/c-7-line- 阅读全文
posted @ 2016-12-22 13:14 neverlandly 阅读(966) 评论(0) 推荐(0)
Leetcode: Unique Substrings in Wraparound String
摘要: 这道题我一开始发现了数学规律: length of consecutive chars vs number of different substring “a” -> 1 = 1 "ab" -> 3 = 1+2 "abc" -> 6 = 1+2+3 "abcd" -> 10 = 1+2+3+4 于是 阅读全文
posted @ 2016-12-22 11:05 neverlandly 阅读(632) 评论(0) 推荐(0)
Leetcode: Count The Repetitions
摘要: 目前只想出了Brute Force做法(1165ms), 看到有<20ms的做法,未深究: 阅读全文
posted @ 2016-12-22 07:24 neverlandly 阅读(670) 评论(0) 推荐(0)
Leetcode: Optimal Account Balancing
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-12-22 05:53 neverlandly 阅读(1705) 评论(0) 推荐(0)
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3