Python Shorts
Is O(n) the only way to improve your algorithms?
How Understanding the problem statement could help you to optimize your code
Published in
4 min readApr 25, 2019
Whenever we talk about optimizing code we always discuss the computational complexity of the code.
Is it O(n) or O(n-squared)?