iphone 4.1 OS firmwire 2.10.04的能解锁吗?# Apple - 家有苹果
S*A
1 楼
别人贴在这里的,没有想到什么特别fit的法子
Q: if there a very big file, each record contains a time stamp, a company
name, and the stock price. what is the fast way to access a particular
record.
a: after some discussion, find out he really want is how to find the
records by time stamp and company name. my answer is to sort the file and
build another index file to point to each record.
所以要用name和time两个key的不同组合找 stock price (value)
可不可以这样,因为公司数目和时间戳比起来数目要小很多 所以建立一个hash table
, 每个entry
key = company name, value = poi
Q: if there a very big file, each record contains a time stamp, a company
name, and the stock price. what is the fast way to access a particular
record.
a: after some discussion, find out he really want is how to find the
records by time stamp and company name. my answer is to sort the file and
build another index file to point to each record.
所以要用name和time两个key的不同组合找 stock price (value)
可不可以这样,因为公司数目和时间戳比起来数目要小很多 所以建立一个hash table
, 每个entry
key = company name, value = poi