Purchase Solution

A basic overview of algorithm analysis

Not what you're looking for?

Ask Custom Question

An Algorithm is a set of steps that defines how a task must perform to produce expected results. An algorithm can be represented in many ways. A computer program is a formal representation of an algorithm. There are many ways of programming a single problem. Thus, many different algorithms can be developed to solve the same problem. However, all algorithms are not equal. A non-technical friend has asked whether some algorithms are better than others. Discuss what makes one algorithm better than another.

Purchase this Solution

Solution Summary

This solution provides a high-level, basic discussion of how algorithms can be compared.

Solution Preview

There are a few factors that can be used to compare different algorithms. The two most common factors are those of time and space. The time factor indicates how long the algorithm will take to run. Consider two common sorting algorithms: bubble sort, quick sort. Both algorithms will ...

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

C# variables and classes

This quiz contains questions about C# classes and variables.

Basic Networking Questions

This quiz consists of some basic networking questions.

Javscript Basics

Quiz on basics of javascript programming language.