we learned efficiency of algorithms this week,this section is very hard for me ,because it is not teaching you how to implement, it is teaching you how to find run time of a function or program. I learned two types of run time . first one is n and second one is nlogn ,as the n becoming larger, the second one nlogn will be much more smaller than the first one. When we implement a function, we should try to use nlogn algorithms, it will make the function faster and less memory require
没有评论:
发表评论