本文转自:http://blog.csdn.net/na_tion/article/details/17527957nginx配置文件主要分为六个区域:main
section、events section、http section、sever section、location section、up...
分类:
其他好文 时间:
2014-06-07 02:13:38
阅读次数:
310
You are given annxn2D matrix representing an
image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this
in-place?classSolution{publi...
分类:
其他好文 时间:
2014-06-04 20:25:09
阅读次数:
227
Follow up for "Search in Rotated Sorted
Array":What ifduplicatesare allowed?Would this affect the run-time complexity?
How and why?Write a function to...
分类:
其他好文 时间:
2014-06-04 20:17:05
阅读次数:
249
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 i...
分类:
其他好文 时间:
2014-06-04 19:54:55
阅读次数:
258
Follow up for "Remove Duplicates":What if
duplicates are allowed at mosttwice?For example,Given sorted array A
=[1,1,1,2,2,3],Your function should ret...
分类:
其他好文 时间:
2014-06-04 19:12:47
阅读次数:
273
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 stil...
分类:
其他好文 时间:
2014-05-30 16:17:49
阅读次数:
210
Given a linked list, determine if it has a
cycle in it.Follow up:Can you solve it without using extra space?/** *
Definition for singly-linked list. *...
分类:
其他好文 时间:
2014-05-30 16:08:05
阅读次数:
238
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-05-30 15:59:56
阅读次数:
249
When creating a Windows form in C#, we would
like to create a hyperlink so that when the user click on the link it would open
up a web browser and dis...
Environment, Ubuntu 14.04set up guideSet up
cool compiler1. sudo apt-get install flex bison build-essential csh
openjdk-6-jdk libxaw7-dev libc6-i3862....
分类:
其他好文 时间:
2014-05-29 15:09:43
阅读次数:
578