Do you use Big-O complexity evaluation in the 'real world'?

后端 未结 11 1511
失恋的感觉
失恋的感觉 2021-01-01 18:53

Recently in an interview I was asked several questions related to the Big-O of various algorithms that came up in the course of the technical questions. I don\'t think I di

11条回答
  •  北海茫月
    2021-01-01 19:43

    I try to hold off optimizations until profiling data proves they are needed. Unless, of course, it is blatently obvious at design time that one algorithm will be more efficient than the other options (without adding too much complexity to the project).

提交回复
热议问题