包子求PAPER# Biology - 生物学
i*c
1 楼
Some questions:
1. find PI using simulation
2. design a cache (interface, implements different cache strategies)
3. judge whether two integer arrays are the same after sorting, e.g., {1,2,3
} is the same as {1,3,2}
Any O(n) approach? what if the range of the integers in the arrays are huge?
4.
if a tree can be converted to the other by only swaping the labels between s
ibling nodes, then the two trees are considered to be variants of each other
.
A database contains a lot of binary trees, given a binary tree,
1) how to decide whether the database contains the tree.
2) how to decide whether the database contains the tree or contains a varian
t of the tree.
5. find common prefix of a set of strings.
1. find PI using simulation
2. design a cache (interface, implements different cache strategies)
3. judge whether two integer arrays are the same after sorting, e.g., {1,2,3
} is the same as {1,3,2}
Any O(n) approach? what if the range of the integers in the arrays are huge?
4.
if a tree can be converted to the other by only swaping the labels between s
ibling nodes, then the two trees are considered to be variants of each other
.
A database contains a lot of binary trees, given a binary tree,
1) how to decide whether the database contains the tree.
2) how to decide whether the database contains the tree or contains a varian
t of the tree.
5. find common prefix of a set of strings.