P**********3 发帖数: 77 | 1 ☆─────────────────────────────────────☆
jenkin (西瓜太郎) 于 (Wed Mar 14 02:07:09 2007) 提到:
白板编程:
1. 删除 duplicate integers in an array.
2. 转换 the given string of integers to
(integers that appear >=1 times)
(integers that appear >=2 times)
...
(integers that appear >=n times)
preserving the original order.
For example: 12223314->12342312
3. 检查 whether an expression is valid.
There are {, [, (, ), ], } symbols in the
expression. something like
{a+(b+c)} is valid, b |
|