How's this for pedantry... problem vs algorithm vs function aside, the pesky epsilon in the upper bound means it isn't big-theta either!