<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>complexity of matrix multiplication algorithm - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/complexity-of-matrix-multiplication-algorithm/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/complexity-of-matrix-multiplication-algorithm/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Mon, 20 Sep 2021 10:56:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>complexity of matrix multiplication algorithm - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/complexity-of-matrix-multiplication-algorithm/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What is the time complexity of adding three matrices of size NXN cell-by-cell ?</title>
		<link>https://www.wikitechy.com/interview-questions/programming/what-is-the-time-complexity-of-adding-three-matrices-of-size-nxn-cell-by-cell/</link>
					<comments>https://www.wikitechy.com/interview-questions/programming/what-is-the-time-complexity-of-adding-three-matrices-of-size-nxn-cell-by-cell/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Fri, 27 Aug 2021 00:44:12 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[adding two nxn matrices]]></category>
		<category><![CDATA[AMCAT Previous Papers with Solutions]]></category>
		<category><![CDATA[complexity of addition of two matrices]]></category>
		<category><![CDATA[complexity of matrix multiplication algorithm]]></category>
		<category><![CDATA[if the depth of a tree is 3 levels]]></category>
		<category><![CDATA[in which area of a class are data and function directly accessible outside the class]]></category>
		<category><![CDATA[then what is the size of the tree?]]></category>
		<category><![CDATA[Time Complexity of Adding Three Matrices]]></category>
		<category><![CDATA[time complexity of adding two matrices]]></category>
		<category><![CDATA[time complexity of adding two numbers]]></category>
		<category><![CDATA[time complexity of addition]]></category>
		<category><![CDATA[What is the complexity of matrix addition?]]></category>
		<category><![CDATA[What is the time complexity of adding three matrices of size NXN]]></category>
		<category><![CDATA[What is the time complexity of adding three matrices of size NXN cell]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=2587</guid>

					<description><![CDATA[Answer : B. O(N2)]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<p class="color-pink">What is the time complexity of adding three matrices of size NXN cell-by-cell ?</p>
<div class="row">
<div class="col-sm-6">
<p>A. O(N)</p>
</div>
<div class="col-sm-6">
<p>B. O(N<sup>2</sup>)</p>
</div>
<div class="col-sm-6">
<p>C. O(N<sup>3</sup>)</p>
</div>
<div class="col-sm-6">
<p>D. None of these</p>
</div>
</div>
</div>
</div>
<h3 id="answer-b-on2"><b>Answer : </b>B. O(N<sup>2</sup>)</h3>
<div class="subheading">
<h2 id="explanation">Explanation :</h2>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>Time complexity will be O(n<sup>2</sup>), because if we add all the elements one by one to other matrics we have to traverse the whole matrix at least 1 time and traversion takes O(n<sup>2</sup>) times.</li>
<li>With this traversion we add 3 elements of location [ i, j ] and storing the result on other matrix at [ i, j ] location.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/programming/what-is-the-time-complexity-of-adding-three-matrices-of-size-nxn-cell-by-cell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
