s*******e 发帖数: 664 | 1 ☆─────────────────────────────────────☆
days (count+days) 于 (Sat Oct 17 14:47:06 2009, 美东) 提到:
Went to Adobe to interview a Senior SW Engineer position,
总的interview的不错, 但被下面问题问倒了,让回去想想,
Q1:
"We need to compare thousands text files with each other, they are not big,
less than 100K each. They are in a directories tree, with a few levels of
subdirectories, how to speed up the comparing process ?"
My answers: We can read them all of these files into memory once so that we
can reduce the numbe |
|