【题目】原文:1.3 Design an algorithm and write code
to remove the duplicate characters in a string without using any additional
buffer. NOTE: One or two add...
分类:
其他好文 时间:
2014-06-02 21:32:04
阅读次数:
284
ProblemYou want your UI components to have
gravity, so that if they are dragged up to the top of the screen, they will
descend on their own. Combining...
分类:
其他好文 时间:
2014-06-02 20:01:49
阅读次数:
243
By reducing your bookmarks to show only the
icons, you can access more of them from the Bookmarks bar. This works great for
sites with recognizable fa...
分类:
其他好文 时间:
2014-06-02 17:39:03
阅读次数:
276
1. 做一个clear脚本,放到/bin下去 $vim /bin/clear #!/bin/bash
cmd /c cls 2. ctrl + L 3. 在cygwind中install ncurses (in Utils) and then you can
use: clear 我倾向于第三种方法...
In DOS you may have been used to D: to change
to the D drive. Cygwin provides a mapping of DOS/Windows drives to the unix file
system by mapping or mo...
问题:
Given a collection of numbers, return all possible permutations.
For example,
[1,2,3] have the following permutations:
[1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2],
and [3,2,1].
分析:
...
分类:
其他好文 时间:
2014-06-01 15:04:42
阅读次数:
259
问题:
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
For example,
[1,1,2] have the following unique permutations:
[1,1,2], [1,2,1],
and...
分类:
其他好文 时间:
2014-06-01 13:03:12
阅读次数:
324
【题目】
Given a binary tree, return the inorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [1,3,2].
Note: Recursive solution is trivial, could you do it iteratively?
confused what "{1,#,2...
分类:
其他好文 时间:
2014-06-01 13:01:23
阅读次数:
279
Merge Sorted ArrayGiven two sorted integer
arrays A and B, merge B into A as one sorted array.Note: You may assume that A
has enough space (size that ...
分类:
其他好文 时间:
2014-06-01 12:04:32
阅读次数:
175
Caused by: java.sql.SQLException: You have an error
in your SQL syntax; check the manual that corresponds to your MySQL server
version for the right s...
分类:
数据库 时间:
2014-06-01 11:31:29
阅读次数:
371