Big-O help

It looks good to me. I have one question to ask you--were you absolutely sure that those < signs did not need to be <= signs?
Well spotted, should be less than or equal too.
 
Top