Idiot-maker

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2015年3月10日

摘要: https://leetcode.com/problems/search-a-2d-matrix/Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following ... 阅读全文
posted @ 2015-03-10 21:35 NickyYe 阅读(188) 评论(0) 推荐(0) 编辑

摘要: https://leetcode.com/problems/plus-one/Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored suc... 阅读全文
posted @ 2015-03-10 20:17 NickyYe 阅读(212) 评论(0) 推荐(0) 编辑

摘要: https://leetcode.com/problems/search-in-rotated-sorted-array-ii/ Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed? Would 阅读全文
posted @ 2015-03-10 14:41 NickyYe 阅读(284) 评论(0) 推荐(0) 编辑

摘要: https://leetcode.com/problems/search-in-rotated-sorted-array/Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5... 阅读全文
posted @ 2015-03-10 14:02 NickyYe 阅读(175) 评论(0) 推荐(0) 编辑

摘要: https://leetcode.com/problems/rotate-image/You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Cou... 阅读全文
posted @ 2015-03-10 11:19 NickyYe 阅读(142) 评论(0) 推荐(0) 编辑