Time Complexity

https://www.sololearn.com/learn/6362/?ref=app