https://medium.com/@madelinestalter/the-connection-between-time-complexity-big-o-notation-part-1-1e52390c3e69