Apple iPhone 4S Preorders Top One Million in Single Day# PDA - 掌中宝
c*y
1 楼
question 1
implement a function to calculate x^y, where x is double and y is integer.
Answer: use recursion
question 2
1TB disk, thousands of thousands of files. How to find out the files who
have the same quantum?
I don't know what the quantum of a file is? According to the interviewer's
explanation, the quantum means the arrangement of '0' and '1' bits inside a
file.
implement a function to calculate x^y, where x is double and y is integer.
Answer: use recursion
question 2
1TB disk, thousands of thousands of files. How to find out the files who
have the same quantum?
I don't know what the quantum of a file is? According to the interviewer's
explanation, the quantum means the arrangement of '0' and '1' bits inside a
file.