I am confused between a sub-quadratic and quadratic algorithm. I know quadratic is when the big O is n square. Then what is a sub-quadratic algorithm?
Subquadratic designates an algorithm whose complexity is ~o(n^2)
, using the little-o notation. This means that the complexity grows much slower than n^2
. It could be anything from linear to almost quadratic.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With