Purchase Solution

Algorithm Timing

Not what you're looking for?

Ask Custom Question

How much time does an algorithm take to solve a problem of size n if this algorithm uses 2n^2 + 2^n bit operations, each requiring 10^-9 second, with these values of n?
i) 10
ii) 20
iii) 50
iv) 100

I need help with a question, the attachment contains the question as well as what I think is the answer. Could someone please tell me if my answer looks right. If it is not right what steps should be taken to solve the problem.

thanks

Purchase this Solution

Solution Summary

The expert examines algorithm timing problems.

Solution Preview

How much time does an algorithm take to solve a problem of size n if this algorithm uses 2n^2 + 2^n bit operations, each requiring 10^-9 second, with these values of n?
i) 10
ii) 20
iii) 50
iv) 100

We need to go through a ...

Purchase this Solution


Free BrainMass Quizzes
Exponential Expressions

In this quiz, you will have a chance to practice basic terminology of exponential expressions and how to evaluate them.

Geometry - Real Life Application Problems

Understanding of how geometry applies to in real-world contexts

Graphs and Functions

This quiz helps you easily identify a function and test your understanding of ranges, domains , function inverses and transformations.

Know Your Linear Equations

Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.

Solving quadratic inequalities

This quiz test you on how well you are familiar with solving quadratic inequalities.