The RAM (Random-access machine) is a set of assumptions. It assumes some basic operations exist and that they all take constant time. So you can ignore these operations and make your big-o estimations using only operations which vary based on the size of the input array, like for loops.
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.
Reference
The RAM (Random-access machine) is a set of assumptions. It assumes some basic operations exist and that they all take constant time. So you can ignore these operations and make your big-o estimations using only operations which vary based on the size of the input array, like
forloops.