• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
neverlandly
博客园    首页    新随笔    联系   管理    订阅  订阅
2014年5月10日
Leetcode: Valid Sudoku
摘要: Best Approach: '4' in row 7 is encoded as "(4)7". '4' in column 7 is encoded as "7(4)". '4' in the top-right block is encoded as "0(4)2". 然后在解Sudoku S 阅读全文
posted @ 2014-05-10 06:45 neverlandly 阅读(413) 评论(0) 推荐(0)
Leetcode: Search Insert Position
摘要: Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or... 阅读全文
posted @ 2014-05-10 02:33 neverlandly 阅读(247) 评论(0) 推荐(0)
Leetcode: Swap Nodes in Pairs
摘要: 1 Given a linked list, swap every two adjacent nodes and return its head.2 3 For example,4 Given 1->2->3->4, you should return the list as 2->1->4->3.... 阅读全文
posted @ 2014-05-10 01:32 neverlandly 阅读(263) 评论(0) 推荐(0)
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3