← 返回 bloomberg 的题目列表Optimizing Hard Problem Solution
类型:online_judge
Suppose you have provided the widely recognized optimal solution for a complex algorithm problem. However, the interviewer expects you to further optimize it to make it more efficient. Describe how you would approach finding and implementing potential performance improvements.
Example
Input
n = 10^6, array of random integers
Output
optimized run time or space usage