Skip to content

Commit

Permalink
matrix complexity added
Browse files Browse the repository at this point in the history
  • Loading branch information
Saurabhdimri06 authored Jul 4, 2019
1 parent c7b778d commit 9154e0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ Time Complexity of Bubble Sort - O(n) and that of Selection Sort is - O(n2)

- Matrix Multiplication
Strassen in 1969 which gives an overview that how we can find the multiplication of two 2*2 dimension matrix by the brute-force algorithm. But by using divide and conquer technique the overall complexity for multiplication two matrices is reduced. This happens by decreasing the total number if multiplication performed at the expenses of a slight increase in the number of addition.

The general algorithm's time complexity is O(n^3), while the Strassen's algorithm is O(n^2.80).

0 comments on commit 9154e0b

Please sign in to comment.