DEV Community

Discussion on: Visualizing Algorithm Runtimes in Python

Collapse
 
chroline profile image
Cole Gawin

Great catch, I made the update right away! The add function given would run in O(1) time, not O(n) time.