I have found out that my algorithm will always do n!*4^n steps . I’d like to know wheter its complexity will be O(n!*4^n) or will it be something else? Thanks.
I have found out that my algorithm will always do n!*4^n steps . I’d
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If it does exactly
n!*4^nsteps, there’s no real need for big oh notation.And yes, that means it has
O(n!*4^n)complexity.