题目:Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra s....
分类:
编程语言 时间:
2014-08-03 07:49:44
阅读次数:
193
Problem Description
The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze was changed and the way he came in was lost.He realized that the bo...
分类:
其他好文 时间:
2014-08-02 23:31:54
阅读次数:
274
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-08-02 20:52:54
阅读次数:
246
Hang Up the System
Time Limit: 2 Seconds Memory Limit: 32768 KB
You're going to design a multi-task operating system for an embedded system. Because the resources are limited on this mini c...
分类:
其他好文 时间:
2014-08-02 18:22:13
阅读次数:
328
You have decided to start up a new social networking company. Other existing popular social networksalready have billions of users, so the only way to...
分类:
其他好文 时间:
2014-08-02 12:32:54
阅读次数:
276
题目: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 spa....
分类:
编程语言 时间:
2014-08-02 12:19:13
阅读次数:
241
$("#music_up").bind("click",showData());$("#music_up").bind("click",showRe());$("#music_up").bind("click",function(){ showData(); ...
分类:
Web程序 时间:
2014-08-02 12:15:03
阅读次数:
372
Sum It Up
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 3944 Accepted Submission(s): 2026
Problem Description
Given a specifie...
分类:
其他好文 时间:
2014-08-02 10:05:03
阅读次数:
307
题目: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-08-02 10:02:03
阅读次数:
261
Before you startAbout this tutorialThe new input/output (NIO) library was introduced with JDK 1.4. Picking up where original I/O leaves off, NIO provi...
分类:
其他好文 时间:
2014-08-02 09:55:53
阅读次数:
322