Give an asymptotic complexity bound of the running time of thefollow homework solver

Give an asymptotic complexity bound of the running time of thefollow homework solver