19

一个简单的例子提高你的算法能力

 4 years ago
source link: https://juejin.im/post/5e436b89e51d4534ec004c9b
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
你不需要成为一个数学天才才能成为一个优秀的程序员,但是有一些技巧你可以添加到你的问题解决包中,以提高你的算法的性能,并在技术面试中给人留下深刻的印象。 在本教程中,您将学习如何用一个简单且容易记住的等式来求和一系列从 1 到 n 的连续整数。这个等式对于将一个

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK