原题地址:https://oj.leetcode.com/problems/search-in-rotated-sorted-array-ii/题意:Follow
up for "Search in Rotated Sorted Array":What ifduplicatesare allowed...
分类:
编程语言 时间:
2014-06-16 08:20:54
阅读次数:
307
题目
Follow up for "Unique Paths":
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An obstacle and empty space is marked as 1 and 0 respective...
分类:
其他好文 时间:
2014-06-10 18:28:49
阅读次数:
207
【题目】
Follow up for problem "Populating Next Right Pointers in Each Node".
What if the given tree could be any binary tree? Would your previous solution still work?
Note:
You may only use constant extra space.
For example,
Given the following binary tre...
分类:
其他好文 时间:
2014-06-08 15:46:22
阅读次数:
303
Description
A robot has been programmed to follow the instructions in its path. Instructions for the next direction the robot is to move are laid down in a grid. The possible instructions are
...
分类:
其他好文 时间:
2014-06-08 04:38:32
阅读次数:
386
You are given an n x n 2D matrix representing
an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this
in-place?实现题。从最外圈顺时针交换,最...
分类:
其他好文 时间:
2014-06-07 20:33:17
阅读次数:
283
题目链接 You are given an n x n 2D matrix representing
an image. Rotate the image by 90 degrees (clockwise). Follow up: Could you do
this in-place? ...
分类:
其他好文 时间:
2014-06-05 16:56:29
阅读次数:
228
Robot MotionDescriptionA robot has been
programmed to follow the instructions in its path. Instructions for the next
direction the robot is to move ar...
分类:
其他好文 时间:
2014-06-04 17:56:00
阅读次数:
247
Eric Evan 的Domain Driven Design
在企业应用领域越来越深入人心, 博主所在的公司也是采用这一方法论,并且基于这一思想开发了一套framework让全公司的开发都去follow,但总觉的有这或那方面的问题, 被我们这些技术人员所诟病。前年读了
Microsoft Span...
分类:
其他好文 时间:
2014-06-02 18:03:16
阅读次数:
295
Given a linked list, determine if it has a
cycle in it.Follow up:Can you solve it without using extra
space?求链表是否有环的问题,要考虑链表为空的情况,定义一个快指针和一个慢指针,如果快指针和...
分类:
其他好文 时间:
2014-06-02 08:05:16
阅读次数:
255
Given a linked list, return the node where the
cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it
without using extra space?借用博...
分类:
其他好文 时间:
2014-06-02 07:32:33
阅读次数:
291