Chua's lesson: "[a] s a parent, one of the worst things you can do for your child's self-esteem is to let them give up."
蔡教授的经验教训:“作为家长,你做的最伤害孩子自尊的事就是让他们放弃。”
The other obvious one to do would be worst case. Again, over all possible inputs to this function, what's the most number of steps it takes to do the computation?
很明显另一种就是针对最坏的情况了,也就是在所有可能的输入,里面选出用的,步骤最多的那个输入?
应用推荐