Design and Analysis of Algorithms computer science homework help

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadlines.

Order a Similar Paper Order a Different Paper

Program the following algorithms that we covered in the class:

a. Classical matrix multiplication

b. Divide-and-conquer matrix multiplication

c. Strassen’s matrix multiplication

In order to obtain more accurate results, the algorithms should be tested with the same matrices of different sizes many times. The total time spent is then divided by the number of times the algorithm is performed to obtain the time taken to solve the given instance. Let the matrix size be n x n. Carry out a complete test of your algorithms with n = 2, 4, 8, 16, 32, 64, 128, 256, … (up to the largest size of n that your computer can handle)

Write a detailed report together with graphs explaining the data sets, test strategies and explanation of the results. What are the theoretical complexity comparisons of the three algorithms? Is the classical matrix multiplication always faster than the divide-and-conquer matrix multiplication? Conclude your report with the strength and constraints of your work.

"Is this question part of your assignment? We can help"


Do you need help with this or a different assignment? We offer CONFIDENTIAL, ORIGINAL (Turnitin/LopesWrite/SafeAssign checks), and PRIVATE services using latest (within 5 years) peer-reviewed articles. Kindly click on ORDER NOW to receive an A++ paper from our masters- and PhD writers.

Get a 15% discount on your order using the following coupon code SAVE15

Order a Similar Paper Order a Different Paper