http://fullstackprep.dev/articles/dsa/array/time-complexity-array-operations