O(n2), not O(n2). As in - O(n*n)
I'm aware, I just don't know how to do it on my keyboard. And yes, I do realise there's a major difference and it shouldn't be trivialised..
Anyway, thanks - I learned something new today :)
dev.to does it for you with the ^ operator - so O(n^2) becomes O(n2).
^
O(n^2)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
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'm aware, I just don't know how to do it on my keyboard. And yes, I do realise there's a major difference and it shouldn't be trivialised..
Anyway, thanks - I learned something new today :)
dev.to does it for you with the
^
operator - soO(n^2)
becomes O(n2).