<?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>algorithm - Determining the big-O runtimes of these - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/algorithm-determining-the-big-o-runtimes-of-these/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/algorithm-determining-the-big-o-runtimes-of-these/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Fri, 03 Sep 2021 06:36:30 +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>algorithm - Determining the big-O runtimes of these - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/algorithm-determining-the-big-o-runtimes-of-these/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>A code with θ(n) and θ(n2) complexity. Which code will execute faster for a code of size J ?</title>
		<link>https://www.wikitechy.com/interview-questions/programming/a-code-with-%ce%b8n-and-%ce%b8n2-complexity-which-code-will-execute-faster-for-a-code-of-size-j/</link>
					<comments>https://www.wikitechy.com/interview-questions/programming/a-code-with-%ce%b8n-and-%ce%b8n2-complexity-which-code-will-execute-faster-for-a-code-of-size-j/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Fri, 27 Aug 2021 00:49:36 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[A code with θ(n) and θ(n^2)]]></category>
		<category><![CDATA[A code with θ(n) and θ(n^2) complexity]]></category>
		<category><![CDATA[algorithm - Big O]]></category>
		<category><![CDATA[algorithm - Determining the big-O runtimes of these]]></category>
		<category><![CDATA[big theta examples]]></category>
		<category><![CDATA[big theta notation examples]]></category>
		<category><![CDATA[codes a and b have complexities]]></category>
		<category><![CDATA[complexity theory in oops]]></category>
		<category><![CDATA[complexity theory in oops questions]]></category>
		<category><![CDATA[how do you calculate/approximate it]]></category>
		<category><![CDATA[How to find time complexity of an algorithm]]></category>
		<category><![CDATA[Most Asked Sapient Nitro Interview Questions]]></category>
		<category><![CDATA[o(n) always faster than o(n^2)]]></category>
		<category><![CDATA[object oriented programming in java questions and answers]]></category>
		<category><![CDATA[time complexity What does O(log n) mean exactly]]></category>
		<category><![CDATA[Which code will execute faster for a code of size J]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=2590</guid>

					<description><![CDATA[Answer : C. Cant be said as size of K is unknown]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<p class="color-pink">A code with θ(n) and θ(n<sup>2</sup>) complexity . Which code will execute faster for a code of size J ?</p>
<div class="row">
<div class="col-sm-6">
<p>A. θ(n)</p>
</div>
<div class="col-sm-6">
<p>B. θ(n<sup>2</sup>)</p>
</div>
<div class="col-sm-6">
<p>C. Cant be said as size of K is unknown</p>
</div>
<div class="col-sm-6">
<p>D. Both will be equal</p>
</div>
</div>
<h3 id="answer-c-cant-be-said-as-size-of-k-is-unknown"><b>Answer : </b>C. Cant be said as size of K is unknown</h3>
</div>
</div>
<div class="subheading">
<h2 id="explanation">Explanation :</h2>
</div>
<div class="Content">
<div class="hddn">
<p>Cant be determined as the size of K is not known.</p>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/programming/a-code-with-%ce%b8n-and-%ce%b8n2-complexity-which-code-will-execute-faster-for-a-code-of-size-j/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
