Basicly assuming you slice time in slices of fixed (!) width, how many slices do you need depending on the size of input (n).
O(1) means that no matter how big the input is, you only need a fixed amount of time. O(n) means you need as many slices as there are inputs (so bigger inputs mean longer run time) and so on.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I wrote an article about this in fact: dev.to
Basicly assuming you slice time in slices of fixed (!) width, how many slices do you need depending on the size of input (n).
O(1) means that no matter how big the input is, you only need a fixed amount of time. O(n) means you need as many slices as there are inputs (so bigger inputs mean longer run time) and so on.