working out a algorithm
I'm currently in the process of self learning algorithms from books and videos on-line.

one of the questions in the book I have is 

works out 

    3n2 + 5n + 1

I have tried to do this myself and have come to it = O(n3) (n cubed)

but as the book does not have answers, I need to check if this is correct or not.

cheers
working out a algorithm
===

I'm currently in the process of self learning algorithms from books and videos on-line.

one of the questions in the book I have is 

works out 

    3n2 + 5n + 1

I have tried to do this myself and have come to it = O(n3) (n cubed)

but as the book does not have answers, I need to check if this is correct or not.

cheers