Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character'.'.You may assume that there will be on...
分类:
其他好文 时间:
2014-07-16 21:52:48
阅读次数:
177
You may just post a question in this webpage, and I shall think about it if I have time, and I will link the answer to it.If you know Latex, you may j...
分类:
其他好文 时间:
2014-07-16 21:02:52
阅读次数:
171
Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express...
分类:
其他好文 时间:
2014-07-16 20:44:52
阅读次数:
158
Write a program to sort a stack in ascending order (with biggest items on top). You may use at most one additional stack to hold items, but you may no...
分类:
其他好文 时间:
2014-07-16 20:35:03
阅读次数:
288
1.Linux查看位数:uname -px86_64uname -a64位的显示 Linux ps4 2.6.16.46-0.12-smp #1 SMP Thu May 17 14:00:09 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux 后面显示有 x86_643...
分类:
系统相关 时间:
2014-07-16 19:57:28
阅读次数:
233
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:
其他好文 时间:
2014-07-13 08:13:53
阅读次数:
251
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /.
Each operand may be an integer or another expression.
Some examples:
["2", "1", ...
分类:
其他好文 时间:
2014-07-12 22:43:17
阅读次数:
267
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy on...
分类:
其他好文 时间:
2014-07-12 16:31:50
阅读次数:
192
1. May I help you, madam? -Yes, I ‘d like 2 kilos of oranges2. May I know your address? -Sure. Here you are.3. Well, Mary, how are you?- I’m fine4. I ...
分类:
其他好文 时间:
2014-07-12 15:05:01
阅读次数:
303
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /.
Each operand may be an integer or another expression.
Some examples:
["2", "1", ...
分类:
其他好文 时间:
2014-07-10 19:39:53
阅读次数:
146