<?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>Globallogic India Pvt Ltd interview questions and answers</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/globallogic-india-pvt-ltd-interview-questions-and-answers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/globallogic-india-pvt-ltd-interview-questions-and-answers/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Mon, 13 Sep 2021 07:11:37 +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>Globallogic India Pvt Ltd interview questions and answers</title>
	<link>https://www.wikitechy.com/interview-questions/tag/globallogic-india-pvt-ltd-interview-questions-and-answers/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Difference Between Splunk and Hadoop ?</title>
		<link>https://www.wikitechy.com/interview-questions/splunk/difference-between-splunk-and-hadoop/</link>
					<comments>https://www.wikitechy.com/interview-questions/splunk/difference-between-splunk-and-hadoop/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 05:55:39 +0000</pubDate>
				<category><![CDATA[Splunk]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[AT&T interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[big data vs splunk]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[can you compare splunk with hadoop?]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Cvent interview questions and answers]]></category>
		<category><![CDATA[Damco Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between splunk and hadoop]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Photon Interactive Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[RBS India Development Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[splunk admin interview questions]]></category>
		<category><![CDATA[splunk admin interview questions and answers]]></category>
		<category><![CDATA[splunk admin interview questions for experienced]]></category>
		<category><![CDATA[splunk analytics for hadoop]]></category>
		<category><![CDATA[splunk and hadoop]]></category>
		<category><![CDATA[splunk certification questions]]></category>
		<category><![CDATA[splunk developer interview questions]]></category>
		<category><![CDATA[splunk hadoop connect vs hunk]]></category>
		<category><![CDATA[splunk hadoop use cases]]></category>
		<category><![CDATA[splunk indexing stages]]></category>
		<category><![CDATA[splunk interview questions]]></category>
		<category><![CDATA[splunk questions]]></category>
		<category><![CDATA[splunk questions and answers]]></category>
		<category><![CDATA[splunk siem interview questions]]></category>
		<category><![CDATA[splunk software engineer interview questions]]></category>
		<category><![CDATA[splunk tool interview questions]]></category>
		<category><![CDATA[splunk vs cloudera]]></category>
		<category><![CDATA[splunk vs spark]]></category>
		<category><![CDATA[splunk vs tableau]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[US Technology International Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Verizon interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[which splunk app is used for enterprise security]]></category>
		<category><![CDATA[which splunk component is used for getting data from data source]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Xavient Software Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Xinthe Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1189</guid>

					<description><![CDATA[Answer : Splunk may be a massive data tool monitoring tool...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="difference-between-splunk-and-hadoop" class="color-purple">Difference Between Splunk and Hadoop:</h2>
</div>
</div>
<div class="ImageContent">
<div class="hddn"><img fetchpriority="high" decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/Splunk/difference-between-splunk-and-hadoop.png" alt="Difference Between Splunk and Hadoop" width="737" height="326" /></div>
</div>
<div class="Content">
<div class="hddn">
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th>Splunk</th>
<th>Hadoop</th>
</tr>
<tr>
<td class="text-leftalign">Splunk may be a massive data tool monitoring tool<br />
for structured , unstructured machine data.It is<br />
additionally used as a BI tool, splunk stores data in its<br />
database called index and you&#8217;ll be able to additionally<br />
visualize data in splunk.</td>
<td class="text-leftalign">Hadoop is massive data storage and analysis , there&#8217;s no frontend in hadoop like splunk.</td>
</tr>
<tr>
<td class="text-leftalign">Splunk may be a log analysis platform. It can be used<br />
with different databases like SQL.</td>
<td class="text-leftalign">Hadoop may be a Java-based open supply framework. It permits users to compose and examine distributed data.</td>
</tr>
<tr>
<td class="text-leftalign">It is used to monitor ordered and unordered machine data.</td>
<td class="text-leftalign">Hadoop may be a Java-based open supply framework. It permits users to compose and examine distributed data.</td>
</tr>
<tr>
<td class="text-leftalign">Being used as a BI tool, together with storing data<br />
in its database you&#8217;ll be able to additionally visualize data.</td>
<td class="text-leftalign">It permits systematic and automatic process of huge sets of data using easy Java programming.</td>
</tr>
</tbody>
</table>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/splunk/difference-between-splunk-and-hadoop/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Difference between Splunk and Tableau ?</title>
		<link>https://www.wikitechy.com/interview-questions/splunk/difference-between-splunk-and-tableau/</link>
					<comments>https://www.wikitechy.com/interview-questions/splunk/difference-between-splunk-and-tableau/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 05:53:20 +0000</pubDate>
				<category><![CDATA[Splunk]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[AT&T interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Cvent interview questions and answers]]></category>
		<category><![CDATA[Damco Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between splunk and tableau]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Photon Interactive Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[RBS India Development Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[splunk admin interview questions]]></category>
		<category><![CDATA[splunk admin interview questions and answers]]></category>
		<category><![CDATA[splunk admin interview questions for experienced]]></category>
		<category><![CDATA[splunk and tableau]]></category>
		<category><![CDATA[splunk certification questions]]></category>
		<category><![CDATA[splunk data in tableau]]></category>
		<category><![CDATA[splunk database]]></category>
		<category><![CDATA[splunk developer interview questions]]></category>
		<category><![CDATA[splunk interview questions]]></category>
		<category><![CDATA[splunk interview questions and answers]]></category>
		<category><![CDATA[splunk power user certification questions]]></category>
		<category><![CDATA[splunk power user certification sample questions]]></category>
		<category><![CDATA[splunk questions and answers]]></category>
		<category><![CDATA[splunk software engineer interview questions]]></category>
		<category><![CDATA[splunk tableau]]></category>
		<category><![CDATA[splunk tableau integration]]></category>
		<category><![CDATA[splunk vs hadoop]]></category>
		<category><![CDATA[splunk vs tableau]]></category>
		<category><![CDATA[tableau database connectors]]></category>
		<category><![CDATA[tableau splunk]]></category>
		<category><![CDATA[tableau splunk mac]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[US Technology International Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Verizon interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[what is splunk tool]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Xavient Software Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Xinthe Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1188</guid>

					<description><![CDATA[Answer : Splunk Enterprise users work with business...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="difference-between-splunk-and-tableau" class="color-purple">Difference between Splunk and Tableau:</h2>
<p><img decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/Splunk/difference-between-splunk-and-tableau.png" alt="Difference between splunk and tableau" width="708" height="246" /></p>
</div>
</div>
<div class="text-center row">
<div class="col-sm-12"></div>
</div>
<div class="Content">
<div class="hddn">
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th>Splunk</th>
<th>Tableau</th>
</tr>
<tr>
<td class="text-leftalign">Splunk Enterprise users work with business<br />
users to explore data in splunk and identify of<br />
data of interest.Storing these results as saved searches<br />
makes them available in tableau.</td>
<td class="text-leftalign">Tableau users access saved searches in splunk to continue data exploration for further business analytics.</td>
</tr>
<tr>
<td class="text-leftalign">Splunk could be a web search engine for<br />
unstructured data and may even be treated as a<br />
near-real-time observation tool; Splunk additionally<br />
provides the visual presentation of your data.</td>
<td class="text-leftalign">Tableau is a visualization tool. People compare Tableau with Splunk when they measure Splunk as a visualization tool.</td>
</tr>
<tr>
<td class="text-leftalign">Splunk software has been around since 2006 and<br />
also the company has since grown to become an<br />
business leader. Splunk&#8217;s vision is to create<br />
machine data accessible, usable and valuable to everyone.</td>
<td class="text-leftalign">Tableau could be a BI-focused software company that gives a large amount of related visualization tools that facilitate businesses verify high quantities of data during a fast, clever,and user-friendly way.</td>
</tr>
<tr>
<td class="text-leftalign">Splunk advertising being a big data platform.<br />
It really could be a system monitoring tool.<br />
It may be a big data platform however<br />
it had been originally build for IT and Developers.</td>
<td class="text-leftalign">Tableau was design for business decision manufacturers, analyst and data scientists. However you&#8217;ll get splunk to do all a similar things at a much higher efficient price and maintenance.</td>
</tr>
</tbody>
</table>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/splunk/difference-between-splunk-and-tableau/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Difference between Splunk Enterprise and Splunk Cloud ?</title>
		<link>https://www.wikitechy.com/interview-questions/splunk/difference-between-splunk-enterprise-and-splunk-cloud/</link>
					<comments>https://www.wikitechy.com/interview-questions/splunk/difference-between-splunk-enterprise-and-splunk-cloud/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 05:50:55 +0000</pubDate>
				<category><![CDATA[Splunk]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[AT&T interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Cvent interview questions and answers]]></category>
		<category><![CDATA[Damco Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between splunk enterprise and splunk enterprise security]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[interview questions on splunk]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Photon Interactive Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[RBS India Development Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[splunk admin interview questions for experienced]]></category>
		<category><![CDATA[splunk cloud security]]></category>
		<category><![CDATA[splunk cloud support]]></category>
		<category><![CDATA[splunk cloud vs enterprise]]></category>
		<category><![CDATA[splunk cloud vs splunk enterprise]]></category>
		<category><![CDATA[splunk developer interview questions]]></category>
		<category><![CDATA[splunk engineer interview questions]]></category>
		<category><![CDATA[splunk enterprise free]]></category>
		<category><![CDATA[splunk enterprise security documentation]]></category>
		<category><![CDATA[splunk enterprise security interview questions]]></category>
		<category><![CDATA[splunk enterprise vs splunk enterprise security]]></category>
		<category><![CDATA[splunk interview process]]></category>
		<category><![CDATA[splunk light vs splunk enterprise]]></category>
		<category><![CDATA[splunk on cloud]]></category>
		<category><![CDATA[splunk software engineer interview questions]]></category>
		<category><![CDATA[splunk tool interview questions]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[US Technology International Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Verizon interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Xavient Software Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Xinthe Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1187</guid>

					<description><![CDATA[Answer : plunk Enterprise is maintained by your
data center.]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="difference-between-splunk-enterprise-and-splunk-cloud" class="color-purple">Difference between Splunk Enterprise and Splunk Cloud:</h2>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th>Splunk Enterprise</th>
<th>Splunk Cloud</th>
</tr>
<tr>
<td class="text-leftalign">Splunk Enterprise is maintained by your<br />
data center.</td>
<td class="text-leftalign">Splunk Cloud is hosted on a cloud server.</td>
</tr>
<tr>
<td class="text-leftalign">Splunk Enterprise we&#8217;ve got to style<br />
the hardware architecture</td>
<td class="text-leftalign">Splunk Cloud all configurations and server maintainance is taken care by Splunk.</td>
</tr>
<tr>
<td class="text-leftalign">Splunk admin who will take care of all the<br />
configuration and troubleshooting of Splunk enterprise.</td>
<td class="text-leftalign">Splunk cloud all you need to know is the<br />
US part of configuration.</td>
</tr>
<tr>
<td class="text-leftalign">Splunk ESplunk Enterprise Security (ES) could be a<br />
security data and event management (SIEM) answer<br />
that provides insight into machine data generated from<br />
security technologies like network,endpoint,access,<br />
malware, vulnerability and identity information.</td>
<td class="text-leftalign">Splunk Cloud is that the industry’s only enterprise-ready cloud service for machine data, providing a 100 percent period of time SLA and normal plans from 5GB/day to 5TB/day.</td>
</tr>
</tbody>
</table>
<div class="text-center row">
<div class="col-sm-12"></div>
</div>
<div class="ImageContent">
<div class="hddn"></div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/splunk/difference-between-splunk-enterprise-and-splunk-cloud/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How splunk useful in corporates ?</title>
		<link>https://www.wikitechy.com/interview-questions/splunk/how-splunk-useful-in-corporates/</link>
					<comments>https://www.wikitechy.com/interview-questions/splunk/how-splunk-useful-in-corporates/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 05:36:16 +0000</pubDate>
				<category><![CDATA[Splunk]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[AT&T interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Cvent interview questions and answers]]></category>
		<category><![CDATA[Damco Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Photon Interactive Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[RBS India Development Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[splunk admin interview questions and answers]]></category>
		<category><![CDATA[splunk admin interview questions for experienced]]></category>
		<category><![CDATA[splunk architecture]]></category>
		<category><![CDATA[splunk enterprise]]></category>
		<category><![CDATA[splunk enterprise security interview questions]]></category>
		<category><![CDATA[splunk interview process]]></category>
		<category><![CDATA[splunk login]]></category>
		<category><![CDATA[splunk open source]]></category>
		<category><![CDATA[splunk search]]></category>
		<category><![CDATA[splunk security]]></category>
		<category><![CDATA[splunk software engineer interview questions]]></category>
		<category><![CDATA[splunk tool interview questions]]></category>
		<category><![CDATA[splunk tool tutorial]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[US Technology International Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Verizon interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[what is splunk]]></category>
		<category><![CDATA[what is splunk tool]]></category>
		<category><![CDATA[what is splunk used for]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Xavient Software Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Xinthe Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1186</guid>

					<description><![CDATA[Answer : Here, some of the key advantages of using splunk which will help you in understanding key features of splunk...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="splunk-useful-in-corporates" class="color-purple" style="text-align: justify;">Splunk useful in corporates:</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Here, some of the key advantages of using splunk which will help you in understanding key features of splunk.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="splunk-uses" class="color-purple">Splunk Uses : &#8211;</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Identify and resolve issues upto 70% faster.</li>
<li>Reduces costly escalations by upto 90%.</li>
<li>Splunk change difficult logs to visual graphs and reports resulting simplified analysis,reporting and troubleshooting</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;">
<div class="col-sm-12"></div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/Splunk/how-splunk-useful-in-corporates.png" alt="  how splunk useful in corporates" width="559" height="260" /></div>
</div>
<p style="text-align: justify;" align="center">
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>No separate database requirements like oracle or SQL as splunk stores all data in its index</li>
<li>Supports any format and any amount of data -enables centralized log management</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img loading="lazy" decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/Splunk/splunk-industry-leading-platform-for-machine-data.png" alt="splunk industry leading platform for machine data" width="668" height="364" /></div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;">Simple to implement and scale</li>
<li style="text-align: justify;">Continually index all of your IT data in real time.</li>
<li style="text-align: justify;">Automatically search helpful information inserted in your data, therefore you can&#8217;t to spot yourself.</li>
<li style="text-align: justify;">Search your physical and virtual IT infrastructure for virtually something of interest and find results in seconds.</li>
<li style="text-align: justify;">Save searches and tag helpful information, to create your system smarter.</li>
<li style="text-align: justify;">Set up alerts to modify the observation of your system for specific continual events.</li>
<li style="text-align: justify;">Provide analytical reports with interactive charts, graphs, and tables.</li>
<li style="text-align: justify;">Share saved searches and reports with fellow Splunk users, and distribute their results to team members and project stakeholders via email.</li>
<li style="text-align: justify;">Design specialised, information-rich views and dashboards that work the wide-ranging desires of your enterprise.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/splunk/how-splunk-useful-in-corporates/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What are the application of splunk ?</title>
		<link>https://www.wikitechy.com/interview-questions/splunk/what-are-the-application-of-splunk/</link>
					<comments>https://www.wikitechy.com/interview-questions/splunk/what-are-the-application-of-splunk/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 05:31:24 +0000</pubDate>
				<category><![CDATA[Splunk]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[AT&T interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Cvent interview questions and answers]]></category>
		<category><![CDATA[Damco Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Photon Interactive Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[RBS India Development Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[splunk admin interview questions and answers]]></category>
		<category><![CDATA[splunk admin interview questions for experienced]]></category>
		<category><![CDATA[splunk app development]]></category>
		<category><![CDATA[splunk application development]]></category>
		<category><![CDATA[splunk application monitoring]]></category>
		<category><![CDATA[splunk application monitoring tool]]></category>
		<category><![CDATA[splunk apps tutorial]]></category>
		<category><![CDATA[splunk certification questions]]></category>
		<category><![CDATA[splunk enterprise security app]]></category>
		<category><![CDATA[splunk enterprise security interview questions]]></category>
		<category><![CDATA[splunk power user certification questions]]></category>
		<category><![CDATA[splunk power user certification sample questions]]></category>
		<category><![CDATA[splunk server monitoring]]></category>
		<category><![CDATA[splunk software engineer interview questions]]></category>
		<category><![CDATA[splunk vs dynatrace]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[US Technology International Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Verizon interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Xavient Software Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Xinthe Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1185</guid>

					<description><![CDATA[Answer : The application of splunk are Monitoring, Analyzes machines, security and business performance...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="application-of-splunk" class="color-purple" style="text-align: justify;">Application of splunk:</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>The application of splunk are Monitoring, Analyzes machines, security and business performance.</li>
<li>With intuitive analysis features, machine learning, packaged applications and open APIs, Splunk Enterprise is a comfortable environment that scales from focused use cases to an enterprise-wide analytics backbone.</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;">
<div class="col-sm-12"><img loading="lazy" decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/Splunk/what-are-the-application-of-splunk.png" alt="What are the the application of splunk" width="1267" height="850" /></div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;">A Splunk application is not much more than a structured set of configurations and assets help to achieve an end goal of data collection, indexing, and visualization.</li>
<li style="text-align: justify;">In order to make a valid Splunk application, you must include the ability to navigate. Without navigation in the application, you would be working on an add-on.</li>
<li style="text-align: justify;">The performance of application can be monitor vendors Dynatrace and Extrahop have developed apps for Splunk software to help the users to visualize their deep-dive application performance data in the event of all other application data like logs, events, infrastructure performance.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/splunk/what-are-the-application-of-splunk/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What are the security data source in Splunk ?</title>
		<link>https://www.wikitechy.com/interview-questions/splunk/what-are-the-security-data-source-in-splunk/</link>
					<comments>https://www.wikitechy.com/interview-questions/splunk/what-are-the-security-data-source-in-splunk/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 04:27:44 +0000</pubDate>
				<category><![CDATA[Splunk]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[AT&T interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Cvent interview questions and answers]]></category>
		<category><![CDATA[Damco Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Photon Interactive Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[RBS India Development Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[splunk admin interview questions and answers]]></category>
		<category><![CDATA[splunk admin interview questions for experienced]]></category>
		<category><![CDATA[splunk data source assessment]]></category>
		<category><![CDATA[splunk engineer interview questions]]></category>
		<category><![CDATA[splunk enterprise security data models]]></category>
		<category><![CDATA[splunk enterprise security data sources]]></category>
		<category><![CDATA[splunk enterprise security interview questions]]></category>
		<category><![CDATA[splunk enterprise security release notes]]></category>
		<category><![CDATA[splunk enterprise security tutorial]]></category>
		<category><![CDATA[splunk enterprise security upgrade]]></category>
		<category><![CDATA[splunk software engineer interview questions]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[US Technology International Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Verizon interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Xavient Software Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Xinthe Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1184</guid>

					<description><![CDATA[Answer : Proxy logs : It's better for C2 analysis of files, domains, downloads of DLL/EXE files...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="security-data-source-in-splunk" class="color-purple" style="text-align: justify;">Security data source in Splunk:</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li><b>Proxy logs : </b>It&#8217;s better for C2 analysis of files, domains, downloads of DLL/EXE files.</li>
<li><b>Anti‐virus logs : </b>It&#8217;s good for analysis of malware, vulnerabilities of hosts, laptops, servers, monitor for suspicious file paths.</li>
<li><b>Server Operating System logs : </b>These logs are good for analysis of server activities such as users, runaway services, security logs.</li>
<li><b>Firewall logs : </b>Logs for network traffic of source/destination ip addresses, ports, protocols.</li>
<li><b>Mail logs : </b>Logs for inbound/outbound mail for malicious links, targeted recipients, unauthorized file out bound, data loss, bad attachments.</li>
<li><b>Custom apps logs : </b>Logs could be analyze for possible buffer overflow, code injection, SQL injection analyses.</li>
</ul>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li><b>Intrusion Prevention System logs : </b>To alert on signatures firing off, COTS signatures, threat analysis of bad network packets.</li>
<li><b>Database logs : </b>It&#8217;s can be capture for authorized access to critical data tables, authorized logons, op ports, admin accounts.</li>
<li><b>Virtual Private Network(VPN) logs : </b>Capture logs to analyze users coming into network for situational awareness, monitored foreign ip subnets, compliance monitoring of browsers/apps of connected hosts.</li>
<li><b>Authentication logs : </b>To monitor authorized/unauthorized users, times of day of connection, how often, logons/logoffs, BIOS analysis.</li>
<li><b>Vulnerability Scan Data : </b>Import data about assets, vulnerabilities, patch data, etc.</li>
<li><b>Web Application logs : </b>External facing logs to monitor suspicious SQL keywords, text patterns, REGEX for threats coming in through browser.</li>
<li><b>DNS logs: </b>To relate IP address what domain in a client level.</li>
<li><b>DHCP logs : </b>To monitor what systems are assign what IP address and how long, how often.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img loading="lazy" decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/Splunk/what-are-the-security-data-source-in-splunk.png" alt=" Security data source in Splunk" width="1100" height="572" /></div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;"><b>Active Directory/Domain Controller logs : </b>Monitor user accounts for AD admins, privilege accounts, remote access, multiple admins across the domain, new account creation, event ID&#8217;s.</li>
<li style="text-align: justify;"><b>Badge Access logs : </b>Logs to capture to correlate insider threat, situational awareness, correlate data with authentication logs.</li>
<li style="text-align: justify;"><b>Router/Switch data (net-‐flow) : </b>Capture this critical data source for APT monitoring, network monitoring, data exfiltration, flow analysis are very important data source.</li>
<li style="text-align: justify;"><b>Packet Capture logs(PCAP): </b>Very difficult data source to capture for Advanced Persistent Threats, packet analysis, deep packet inspection, malware analysis, etc.</li>
<li style="text-align: justify;"><b>FW + AV : </b>Will help detect and respond to viruses, worm propagation.</li>
<li style="text-align: justify;"><b>IPS + AV + FW : </b>Detect/alert on network based attacks such as buffer overflow, reconnaissance scans, code injection.</li>
<li style="text-align: justify;"><b>PROXY : </b>The web based/application layer is a majority attacks to monitor like: cross-site scripting, session hacking, browse redirects.</li>
<li style="text-align: justify;"><b>AV + PROXY : </b>Monitor/detect/respond to download of bad files, remote code execution…web-based attacks.</li>
<li style="text-align: justify;"><b>FW + PROXY : </b>Detect outbound data exfiltration, detect potentially misconfig fw rules.</li>
<li style="text-align: justify;"><b>IPS + FW : </b>Network packet of signature threats to be monitored.</li>
<li style="text-align: justify;"><b>AD Server : </b>All user/group modifications, deletes, updates for administrators to be monitored.</li>
<li style="text-align: justify;"><b>AD + PROXY : </b>Monitor/Detect/Alert on post compromise analysis, lateral movement.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/splunk/what-are-the-security-data-source-in-splunk/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is Splunk ?</title>
		<link>https://www.wikitechy.com/interview-questions/splunk/what-is-splunk/</link>
					<comments>https://www.wikitechy.com/interview-questions/splunk/what-is-splunk/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 04:24:43 +0000</pubDate>
				<category><![CDATA[Splunk]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[AT&T interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Cvent interview questions and answers]]></category>
		<category><![CDATA[Damco Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Photon Interactive Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[RBS India Development Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[splunk admin interview questions and answers]]></category>
		<category><![CDATA[splunk admin interview questions for experienced]]></category>
		<category><![CDATA[splunk alternative]]></category>
		<category><![CDATA[splunk apps]]></category>
		<category><![CDATA[splunk architecture]]></category>
		<category><![CDATA[splunk architecture components]]></category>
		<category><![CDATA[splunk architecture diagram]]></category>
		<category><![CDATA[splunk architecture overview]]></category>
		<category><![CDATA[splunk cloud]]></category>
		<category><![CDATA[splunk deployment architecture]]></category>
		<category><![CDATA[splunk enterprise]]></category>
		<category><![CDATA[splunk enterprise architecture]]></category>
		<category><![CDATA[splunk enterprise security]]></category>
		<category><![CDATA[splunk enterprise security interview questions]]></category>
		<category><![CDATA[splunk login]]></category>
		<category><![CDATA[splunk open source]]></category>
		<category><![CDATA[splunk security]]></category>
		<category><![CDATA[splunk software]]></category>
		<category><![CDATA[splunk software engineer interview questions]]></category>
		<category><![CDATA[splunk tool]]></category>
		<category><![CDATA[splunk tool tutorial]]></category>
		<category><![CDATA[splunk tutorial]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[US Technology International Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Verizon interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[what is splunk]]></category>
		<category><![CDATA[what is splunk used for]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Xavient Software Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Xinthe Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1183</guid>

					<description><![CDATA[Answer : Splunk is a software environment to give search...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="splunk-definitions" class="color-purple" style="text-align: justify;">Splunk Definitions:</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Splunk is a software environment to give search, analyze and event to machine-generated data collect from the websites, applications, sensors,devices etc.,It create for your IT environment and business.</li>
<li>Splunk is an advanced,scalable and potent technology that system can be stored indexes and searches log files.It also search the machine-generated data to give operational intelligence.</li>
<li>The below image will help you how to relate Splunk collects data.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img loading="lazy" decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/Splunk/what-is-splunk.png" alt="what is splunk" width="395" height="230" /></div>
</div>
<p style="text-align: justify;" align="center">Learn Splunk &#8211; Splunk tutorial &#8211; what is splunk &#8211; Splunk examples &#8211; Splunk programs</p>
<div class="subheading" style="text-align: justify;">
<h2 id="example-for-splunk">Example for Splunk:</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>To report real time health condition.</li>
<li>The patient’s health record and analyze patterns in the Delve deeper.</li>
<li>When the patient’s health degrades to be Alarms/Alerts for both the doctor and patient.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img loading="lazy" decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/Splunk/example-for-splunk.png" alt=" there is a simple example for splunk" width="684" height="480" /></div>
</div>
<p style="text-align: justify;" align="center">
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="splunk-advantages" class="color-purple">Splunk advantages:</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>It work can be moved as the ‘Google’ for log files.</li>
<li>Simpler terms to be searched with the use of Search Processing Language (SPL).</li>
<li>If the Splunk file system to be store the data directly that means it does not require any back-end or any database</li>
<li>It doesn&#8217;t against any single point of failure to be happened.</li>
</ul>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<p align="justify">Some of the additional components that separately and collectively perform the major operations:</p>
</div>
</div>
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th>Components</th>
<th>Tasks Performed</th>
</tr>
<tr>
<td class="text-leftalign">Deployment Modes</td>
<td class="text-leftalign">Standalone deployment and Distributed deployment, on the basis of which the searches are performed.</td>
</tr>
<tr>
<td class="text-leftalign">Splunk</td>
<td class="text-leftalign">Responsible for indexing and processing massive amounts of data in real-time.</td>
</tr>
<tr>
<td class="text-leftalign">DataStore</td>
<td class="text-leftalign">Stores and compresses the raw data.</td>
</tr>
<tr>
<td class="text-leftalign">Bundles</td>
<td class="text-leftalign">Store the configuration of the input, accounts of users, applications, add-ons, etc.</td>
</tr>
<tr>
<td class="text-leftalign">Modules</td>
<td class="text-leftalign">Add new features by altering or creating processors and pipelines.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/splunk/what-is-splunk/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is Joomla ?</title>
		<link>https://www.wikitechy.com/interview-questions/joomla/what-is-joomla/</link>
					<comments>https://www.wikitechy.com/interview-questions/joomla/what-is-joomla/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 19 Jul 2021 14:55:01 +0000</pubDate>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Amazon Development Centre India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Ciber Global Solutions interview questions and answers]]></category>
		<category><![CDATA[cms for website]]></category>
		<category><![CDATA[cms joomla]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[drupal vs joomla]]></category>
		<category><![CDATA[free cms]]></category>
		<category><![CDATA[free joomla templates]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Hexaware BPS interview questions and answers]]></category>
		<category><![CDATA[how to use joomla]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[iEnergizer interview questions and answers]]></category>
		<category><![CDATA[Indiabulls Tec interview questions and answers]]></category>
		<category><![CDATA[install joomla]]></category>
		<category><![CDATA[joomla 2018]]></category>
		<category><![CDATA[joomla 3]]></category>
		<category><![CDATA[joomla administrator]]></category>
		<category><![CDATA[joomla backup]]></category>
		<category><![CDATA[joomla cms]]></category>
		<category><![CDATA[joomla demo]]></category>
		<category><![CDATA[joomla extensions]]></category>
		<category><![CDATA[joomla hosting]]></category>
		<category><![CDATA[joomla interview questions]]></category>
		<category><![CDATA[joomla latest version]]></category>
		<category><![CDATA[joomla meaningis joomla free]]></category>
		<category><![CDATA[joomla page]]></category>
		<category><![CDATA[joomla templates]]></category>
		<category><![CDATA[joomla tutorial]]></category>
		<category><![CDATA[joomla version]]></category>
		<category><![CDATA[joomla vs wordpress]]></category>
		<category><![CDATA[joomla website]]></category>
		<category><![CDATA[joomla website templates]]></category>
		<category><![CDATA[joomla websites]]></category>
		<category><![CDATA[joomla websitesis joomla free]]></category>
		<category><![CDATA[joomla wordpress]]></category>
		<category><![CDATA[joomla.org templates]]></category>
		<category><![CDATA[joomlahost]]></category>
		<category><![CDATA[jumla meaninguses of joomla]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Mindtree interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Sparsh BPO Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Sutherland Global Services interview questions and answers]]></category>
		<category><![CDATA[Synechron Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Trigent Software interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[What is Joomla?]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[wordpress vs joomla vs drupal]]></category>
		<category><![CDATA[zend interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1057</guid>

					<description><![CDATA[Answer : Joomla is a free and open-source Content Management System...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-joomla" class="color-pink" style="text-align: justify;">What is Joomla ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Joomla is a free and open-source Content Management System (CMS) for distributing web content.</li>
<li>It is built on a Model-View-Controller (MVC) web application framework that can be used individually, and the CMS that allows to build powerful online applications.</li>
<li>Joomla is one of the most popular website software’s.</li>
<li>Joomla is an independent platform, user friendly, extendable, multilingual, accessible, responsive, search engine optimized and so much more.</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;"></div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="what-is-content-management-system-cms" class="color-green">What is Content Management System (CMS) ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>CMS is an application (web-based), that provides capabilities for multiple users with different permission levels to manage (all or a section of) content, data or information of a website project, or intranet application.</li>
<li>Managing content refers to creating, editing, archiving, publishing, collaborating on, reporting, distributing website content, data and information.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="uses-of-joomla" class="color-purple">Uses of Joomla</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Joomla is used to whole world and millions of websites of all shapes and sizes. Joomla can be used for,
<ul>
<li>Corporate websites or portals, intranets and extranets.</li>
<li>Small business websites.</li>
<li>Online magazines, newspapers, and publications.</li>
<li>E-commerce and online reservations.</li>
<li>Government, non-profit and organizational websites.</li>
<li>Community-based, school and church websites or portals.</li>
<li>Personal or family homepages.</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="ImageContent">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/joomla/what-is-joomla.png" alt=" What is Joomla" /></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/joomla/what-is-joomla/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is Binary Search Tree ?</title>
		<link>https://www.wikitechy.com/interview-questions/data-structure/what-is-binary-search-tree/</link>
					<comments>https://www.wikitechy.com/interview-questions/data-structure/what-is-binary-search-tree/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 17:58:10 +0000</pubDate>
				<category><![CDATA[Data Structure]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[allevel order traversal]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[balanced binary search tree]]></category>
		<category><![CDATA[Bharti Airtel interview questions and answers]]></category>
		<category><![CDATA[binary numbers list]]></category>
		<category><![CDATA[binary search]]></category>
		<category><![CDATA[binary search algorithm]]></category>
		<category><![CDATA[binary search code]]></category>
		<category><![CDATA[binary search in data structure]]></category>
		<category><![CDATA[binary search program]]></category>
		<category><![CDATA[binary search python]]></category>
		<category><![CDATA[binary search tree algorithm]]></category>
		<category><![CDATA[binary search tree c++]]></category>
		<category><![CDATA[binary search tree definition]]></category>
		<category><![CDATA[binary search tree delete iterative]]></category>
		<category><![CDATA[binary search tree delete node c++]]></category>
		<category><![CDATA[binary search tree deletion]]></category>
		<category><![CDATA[binary search tree deletion algorithm in c]]></category>
		<category><![CDATA[binary search tree deletion in c]]></category>
		<category><![CDATA[binary search tree example]]></category>
		<category><![CDATA[binary search tree insertion]]></category>
		<category><![CDATA[binary search tree insertion and deletion program in c]]></category>
		<category><![CDATA[binary search tree java]]></category>
		<category><![CDATA[binary search tree program in c]]></category>
		<category><![CDATA[binary search tree program in c++ using linked list]]></category>
		<category><![CDATA[binary search tree python]]></category>
		<category><![CDATA[binary search tree python library]]></category>
		<category><![CDATA[binary search tree recursive delete c++]]></category>
		<category><![CDATA[binary search tree traversal]]></category>
		<category><![CDATA[binary search tree traversal inorder preorder postorder example]]></category>
		<category><![CDATA[binary tree]]></category>
		<category><![CDATA[binary tree program in data structure]]></category>
		<category><![CDATA[binary tree traversal program in cinorder traversal iterativebinary tree traversal program in c++]]></category>
		<category><![CDATA[binary tree vs binary search tree]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Te interview questions and answers]]></category>
		<category><![CDATA[construct binary tree from inorder and postorder travers]]></category>
		<category><![CDATA[delete node from binary search tree]]></category>
		<category><![CDATA[deletion by merging in binary search tree]]></category>
		<category><![CDATA[deletion in binary search tree examples]]></category>
		<category><![CDATA[deletion in binary search tree in c++ program]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between binary tree and binary search tree]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[optimal binary search tree]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[polaris financial technology interview questions and answers]]></category>
		<category><![CDATA[recursive binary search]]></category>
		<category><![CDATA[recursive binary search tree python]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tracxn Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[tree traversal examples]]></category>
		<category><![CDATA[tree traversal questions]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[validate binary search tree]]></category>
		<category><![CDATA[what is binary]]></category>
		<category><![CDATA[what is binary search]]></category>
		<category><![CDATA[what is binary search algorithm]]></category>
		<category><![CDATA[what is binary search in data structure]]></category>
		<category><![CDATA[what is binary search tree]]></category>
		<category><![CDATA[what is binary search tree in data structure]]></category>
		<category><![CDATA[what is optimal binary search tree]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yodlee Infotech Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=515</guid>

					<description><![CDATA[Answer : The Binary search tree is a node-based on the binary tree data structure...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-binary-search-tree" class="color-pink" style="text-align: justify;">What is binary search tree ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>The <a href="https://www.wikitechy.com/technology/category/data-structures/binary-search-tree/" target="_blank" rel="noopener">Binary search tree</a> is a node-based on the binary tree data structure has the following properties,
<ul>
<li>The left-side sub tree of a node contains only nodes with keys lesser than the node’s key.</li>
<li>The right-side sub tree of a node contains only nodes with keys greater than the node’s key.</li>
<li>The left-side and right-side subtree each must also be a binary search tree.</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/data-structure/what-is-binary-search-tree.gif" alt="Binary Search Tree" /></div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="binary-search-tree-traversing" class="color-green">Binary Search Tree Traversing</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li><a href="https://www.wikitechy.com/technology/c-programming-tree-traversals-inorder-preorder-postorder/" target="_blank" rel="noopener">Pre-order</a> traversal.</li>
<li><a href="https://www.wikitechy.com/technology/java-programming-tree-traversals-inorder-preorder-postorder/" target="_blank" rel="noopener">Post-order</a> traversal.</li>
<li><a href="https://www.wikitechy.com/technology/python-programming-tree-traversals-inorder-preorder-postorder/" target="_blank" rel="noopener">In-order</a> traversal.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="pre-order-traversal" class="color-purple">Pre-order traversal</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>This traversal technique it may be traversal order is root-left-right.
<ul>
<li>Visit the node.</li>
<li>Call itself to traverse the node&#8217;s left subtree.</li>
<li>Call itself to traverse the node&#8217;s right subtree.</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="algoithm" class="color-green" style="text-align: justify;">Algoithm</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markdown code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markdown code-embed-code">preOrder (t)<br/>     {<br/>       if (t is not empty)<br/>        {<br/>              access the root element of t;<br/>              preOrder (leftTree (t));<br/>              preOrder (rightTree (t));<br/>       } // if<br/>    } // preOrder traversal</code></pre> </div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="post-order-traversal" class="color-purple">Post-order traversal</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>This traversal technique the traversal order is left-right-root.
<ul>
<li>Call itself to traverse the node&#8217;s left subtree.</li>
<li>Call itself to traverse the node&#8217;s right subtree.</li>
<li>Visit the node.</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="algoithm-2" class="color-green" style="text-align: justify;">Algoithm</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markdown code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markdown code-embed-code">postOrder (t)<br/> { <br/>   if (t is not empty) <br/>    { <br/>       postOrder(leftTree(t));<br/>       postOrder(rightTree(t)); <br/>       access the root element of t;<br/>    } // if <br/>} // postOrder traversal</code></pre> </div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="n-order-traversal" class="color-purple">n-order traversal</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>An <a href="https://www.wikitechy.com/technology/python-programming-inorder-predecessor-successor-given-key-bst/" target="_blank" rel="noopener">in-order</a> traversal of a binary search tree will cause all the nodes to be visited in ascending order, based on their key values. If you want to create a sorted list of the data in a binary tree, this is one way to do it.
<ul>
<li>Call itself to traverse the node&#8217;s left subtree.</li>
<li>Visit the node.</li>
<li>Call itself to traverse the node&#8217;s right subtree</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="algoithm-3" class="color-green" style="text-align: justify;">Algoithm</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markdown code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markdown code-embed-code">private void inOrder(node localRoot) <br/>{ <br/>  if(localRoot != null) <br/>   {<br/>      inOrder(localRoot.leftChild);<br/>      localRoot.displayNode(); <br/>      inOrder(localRoot.rightChild); <br/>   }<br/> }</code></pre> </div>
<p style="text-align: justify;"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/data-structure/binary-tree-traversing.png" alt="Binary Tree Traversing" /></p>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="advantages" class="color-blue">Advantages</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Binary Search Tree is fast in insertion and deletion etc when balanced.</li>
<li>It is very efficient and its code is easier than Linklists.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="disadvantages" class="color-blue">Disadvantages</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;">The main disadvantage is that we should always implement a balanced binary search tree &#8211; AVL tree, Red-Black tree, Splay tree. Otherwise the cost of operations may not be logarithmic and degenerate into a linear search on an array.</li>
<li style="text-align: justify;">Shape of the tree depends upon order of insertion and it can be degenerated.</li>
<li style="text-align: justify;">Searching takes long time.</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/data-structure/what-is-binary-search-tree/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Count number of bits to be flipped to convert A to B ?</title>
		<link>https://www.wikitechy.com/interview-questions/data-structure/how-to-count-number-of-bits-to-be-flipped-to-convert-a-to-b/</link>
					<comments>https://www.wikitechy.com/interview-questions/data-structure/how-to-count-number-of-bits-to-be-flipped-to-convert-a-to-b/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 17:48:41 +0000</pubDate>
				<category><![CDATA[Data Structure]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Bharti Airtel interview questions and answers]]></category>
		<category><![CDATA[bit flipping game code]]></category>
		<category><![CDATA[bit manipulation in c]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[brian kernighan’s algorithm]]></category>
		<category><![CDATA[c program to count number of ones and zeros]]></category>
		<category><![CDATA[c program to toggle a bit]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Te interview questions and answers]]></category>
		<category><![CDATA[count number of 1s in a binary number java]]></category>
		<category><![CDATA[count set bits]]></category>
		<category><![CDATA[count set bits in a number c++]]></category>
		<category><![CDATA[count total set bits in all numbers from 1 to n]]></category>
		<category><![CDATA[counting bits]]></category>
		<category><![CDATA[counting bits set by lookup table]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[flip all bits in c]]></category>
		<category><![CDATA[flip bits]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[flipped mountain code in c]]></category>
		<category><![CDATA[flipped mountain code in java]]></category>
		<category><![CDATA[flipped mountain in c]]></category>
		<category><![CDATA[flipped mountain pattern program in java]]></category>
		<category><![CDATA[flipped mountain program in c]]></category>
		<category><![CDATA[flipped mountain program in java]]></category>
		<category><![CDATA[flipped mountain program in python]]></category>
		<category><![CDATA[flipping bits in c]]></category>
		<category><![CDATA[flipping bits in java]]></category>
		<category><![CDATA[flipping bits program in c]]></category>
		<category><![CDATA[flipping bits solution]]></category>
		<category><![CDATA[flipping bits solution in c]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[how to count number of 1's in binary representation in c]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[reverse bytes in c]]></category>
		<category><![CDATA[samsung interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[toggle all bits in c]]></category>
		<category><![CDATA[Tracxn Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yodlee Infotech Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=513</guid>

					<description><![CDATA[Answer : Write the program to count number of bits needed to be flipped...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="how-to-count-number-of-bits-to-be-flipped-to-convert-a-to-b" class="color-pink" style="text-align: justify;">How to Count number of bits to be flipped to convert A to B ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Write the program to count number of bits needed to be flipped to convert ‘a’ to ‘b’. For Example given two numbers a = 6 and b = 12; then the output is 2
<ul>
<li><a href="https://www.wikitechy.com/technology/check-binary-representation-number-palindrome/" target="_blank" rel="noopener">Binary representation</a> of a is 00000<b>11</b>0</li>
<li>Binary representation of b is 00001100</li>
<li>We need to flip highlighted two bits in a</li>
<li>To make it b.</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="explanation" class="color-purple">Explanation</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Calculate XOR of A and B.</li>
</ul>
</div>
</div>
<div class="Output" style="text-align: justify;">
<div class="hddn">
<figure class="highlight">
<pre><code class="hljs" data-lang=""><span class="nt">a_xor_b = A ^ B</span></code></pre>
</figure>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Count the set bits in the above Calculated XOR result.</li>
</ul>
</div>
</div>
<div class="Output" style="text-align: justify;">
<div class="hddn">
<figure class="highlight">
<pre><code class="hljs scss" data-lang=""><span class="nt"><span class="hljs-function">CountSetBits</span>(a_xor_b)</span></code></pre>
</figure>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code-in-c" class="color-purple" style="text-align: justify;">Sample Code in C#</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">/ Count number of bits to be <br/>// flipped to convert A into B <br/>using System; <br/><br/>public class Count { <br/>	<br/>	// Function that count set bits <br/>	public static int countSetBits(int n) <br/>	{ <br/>		int count = 0; <br/>		while (n != 0) { <br/>			count += n &amp; 1; <br/>			n &gt;&gt;= 1; <br/>		} <br/>		return count; <br/>	} <br/><br/>	// Function that return <br/>	// count of flipped number <br/>	public static int FlippedCount(int a, int b) <br/>	{ <br/>	// Return count of set <br/>	// bits in a XOR b <br/>		return countSetBits(a ^ b); <br/>	} <br/>	<br/>	// Driver code <br/>	public static void Main() <br/>	{ <br/>		int a = 17; <br/>		int b = 55; <br/>		Console.WriteLine(FlippedCount(a, b)); <br/>	} <br/>} <br/><br/>// This code is contributed by vt_m. </code></pre> </div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="output" class="color-purple">Output</h2>
</div>
</div>
<div class="Output">
<div class="hddn">
<figure class="highlight" style="text-align: justify;">
<pre><code class="hljs" data-lang=""><span class="nt">3</span></code></pre>
</figure>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/data-structure/how-to-count-number-of-bits-to-be-flipped-to-convert-a-to-b/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What are the Minimum Initial Points to Reach Destination ?</title>
		<link>https://www.wikitechy.com/interview-questions/data-structure/what-are-the-minimum-initial-points-to-reach-destination/</link>
					<comments>https://www.wikitechy.com/interview-questions/data-structure/what-are-the-minimum-initial-points-to-reach-destination/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 17:44:33 +0000</pubDate>
				<category><![CDATA[Data Structure]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Bharti Airtel interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[bottom and up moves allowed]]></category>
		<category><![CDATA[bottom moves allowed]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Te interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[find minimum moves to reach target on an infinite line]]></category>
		<category><![CDATA[find shortest path in 2d array in c]]></category>
		<category><![CDATA[find shortest path in matrix python]]></category>
		<category><![CDATA[find the minimum number of moves needed to move from one cell of matrix to another]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[maximum cost path dynamic programm]]></category>
		<category><![CDATA[min cost flow]]></category>
		<category><![CDATA[minimum cost path]]></category>
		<category><![CDATA[minimum cost path dijkstra]]></category>
		<category><![CDATA[minimum cost path graph]]></category>
		<category><![CDATA[minimum cost path matrix java]]></category>
		<category><![CDATA[minimum cost path with left]]></category>
		<category><![CDATA[minimum cost path with right]]></category>
		<category><![CDATA[minimum number of jumps to reach end in java]]></category>
		<category><![CDATA[minimum number of jumps to reach end python]]></category>
		<category><![CDATA[minimum number of steps to reach a given number]]></category>
		<category><![CDATA[minimum steps to one dynamic programming]]></category>
		<category><![CDATA[minimum steps to reach a destination java]]></category>
		<category><![CDATA[minimum sum descent dynamic programming]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[samsung interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[shortest distance between two cells in a matrix or grid java]]></category>
		<category><![CDATA[shortest path between two points in a grid java]]></category>
		<category><![CDATA[shortest path from source to destination in matrix java]]></category>
		<category><![CDATA[shortest path in grid with obstacles]]></category>
		<category><![CDATA[shortest path in grid with obstacles python]]></category>
		<category><![CDATA[shortest path in matrix]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tracxn Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yodlee Infotech Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=511</guid>

					<description><![CDATA[Answer : To begin from the upper left corner of a given framework...]]></description>
										<content:encoded><![CDATA[<div>
<div class="hddn">
<h2 id="what-are-the-minimum-initial-points-to-reach-destination" class="color-pink" style="text-align: justify;">What are the Minimum Initial Points to Reach Destination ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>To begin from the upper left corner of a given framework, one needs to achieve the base right corner.</li>
<li>Every cell in the grid contains a number, the number may positive or negative.</li>
<li>We can move across a cell only if we have positive points ( &gt; 0 ). Whenever we pass through a cell, points in that cell are added to our overall points.</li>
<li>We need to find minimum initial points to reach cell (m-1, n-1) from (0, 0) by following these certain set of rules :</li>
</ul>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li style="list-style-type: none;">
<ul>
<li>From a cell (i, j) we can move to (i+1, j) or (i, j+1).</li>
<li>We cannot move from (i, j) if your overall points at (i, j) is &lt;= 0.</li>
<li>We have to reach at (n-1, m-1) with minimum positive points i.e., &gt; 0.</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="syntax" class="color-purple">Syntax</h2>
</div>
</div>
<div class="Output" style="text-align: justify;">
<div class="hddn">
<figure class="highlight">
<pre><code class="hljs scss" data-lang=""><span class="nt"><span class="hljs-function">minInitTokens</span>(matrix) </span></code></pre>
</figure>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code-in-c" class="color-purple" style="text-align: justify;">Sample Code in C++</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">#include&lt;iostream&gt;<br/>#include&lt;cmath&gt;<br/>#define ROW 3<br/>#define COL 3<br/>using namespace std;<br/><br/>int tokens[ROW][COL] = {<br/>   {-2,-3,3},<br/>   {-5,-10,1},<br/>   {10,30,-5}<br/>};<br/><br/>int max(int a, int b) {<br/>   return (a&gt;b)?a:b;<br/>}<br/><br/>int minInitPoints() {<br/>   int minToken[ROW][COL];<br/>   int m = ROW, n = COL;<br/>   <br/>   minToken[m-1][n-1] = tokens[m-1][n-1] &gt; 0? 1: abs(tokens[m-1][n-1]) + 1;<br/>   <br/>   for (int i = m-2; i &gt;= 0; i--)    //from last row to first row, fill points<br/>      minToken[i][n-1] = max(minToken[i+1][n-1] - tokens[i][n-1], 1);<br/>   <br/>   for (int j = n-2; j &gt;= 0; j--)    //fill last column to first column, fill points<br/>      minToken[m-1][j] = max(minToken[m-1][j+1] - tokens[m-1][j], 1);<br/><br/>   for (int i=m-2; i&gt;=0; i--) {<br/>      for (int j=n-2; j&gt;=0; j--) {<br/>         int remPoint = min(minToken[i+1][j], minToken[i][j+1]);    //calculate remaining points<br/>         minToken[i][j] = max(remPoint - tokens[i][j], 1);<br/>      }<br/>   }<br/>   return minToken[0][0];<br/>}<br/><br/>int main() {<br/>   cout &lt;&lt; &quot;Least Points Required: &quot; &lt;&lt; minInitPoints();<br/>}</code></pre> </div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="output" class="color-purple">Output</h2>
</div>
</div>
<div class="Output">
<div class="hddn">
<figure class="highlight" style="text-align: justify;">
<pre><code class="hljs" data-lang=""><span class="nt">Least Points Required: 7</span></code></pre>
</figure>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/data-structure/what-are-the-minimum-initial-points-to-reach-destination/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Delete all occurrences of a given key in a linked list ?</title>
		<link>https://www.wikitechy.com/interview-questions/data-structure/delete-all-occurrences-of-a-given-key-in-a-linked-list/</link>
					<comments>https://www.wikitechy.com/interview-questions/data-structure/delete-all-occurrences-of-a-given-key-in-a-linked-list/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 17:39:53 +0000</pubDate>
				<category><![CDATA[Data Structure]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Bharti Airtel interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[c program to delete first node in linked list]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Te interview questions and answers]]></category>
		<category><![CDATA[delete a specific node in linked list java]]></category>
		<category><![CDATA[delete all nodes in doubly linked list c++]]></category>
		<category><![CDATA[delete at position in a doubly linked list]]></category>
		<category><![CDATA[delete first node in linked list c++]]></category>
		<category><![CDATA[delete last node in doubly linked list in c++]]></category>
		<category><![CDATA[delete last node in linked list c++]]></category>
		<category><![CDATA[delete last node in linked list in c]]></category>
		<category><![CDATA[delete node at given position in a linked list in c++]]></category>
		<category><![CDATA[delete node from doubly linked list java]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[doubly linked list geeksforgeeks]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[remove element from doubly linked list c++]]></category>
		<category><![CDATA[samsung interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tracxn Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers]]></category>
		<category><![CDATA[write a program to delete a node from linked list in c++]]></category>
		<category><![CDATA[write ac program to delete a particular element in the doubly linked list]]></category>
		<category><![CDATA[write an algorithm to delete duplicate elements in a singly linked list]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yodlee Infotech Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=509</guid>

					<description><![CDATA[Answer : Given a singly linked list, delete all occurrences...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="delete-all-occurrences-of-a-given-key-in-a-linked-list" class="color-pink">Delete all occurrences of a given key in a linked list ?</h2>
</div>
</div>
<div class="CodeContent">
<div class="hddn">
<ul>
<li>Given a singly linked list, delete all occurrences of a given key in it. For example,</li>
</ul>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markdown code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markdown code-embed-code">Input:  2 -&gt; 1 -&gt; 8 -&gt; 2 -&gt;  3 -&gt;  2 -&gt; 7<br/>       Key to delete = 2<br/>Output:  1 -&gt; 8 -&gt; 3 -&gt; 7 </code></pre> </div>
<h2 id="sample-code-in-c" class="color-purple">Sample Code in C</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">#include &lt;stdio.h&gt; <br/>#include &lt;stdlib.h&gt; <br/>// A linked list node <br/>struct Node <br/>{ <br/>    int data; <br/>    struct Node *next; <br/>}; <br/>/* Given a reference (pointer to pointer) to the head of a list <br/>   and an int, inserts a new node on the front of the list. */<br/>void push(struct Node** head_ref, int new_data) <br/>{ <br/>    struct Node* new_node = (struct Node*) malloc(sizeof(struct Node)); <br/>    new_node-&gt;data  = new_data; <br/>    new_node-&gt;next = (*head_ref); <br/>    (*head_ref)    = new_node; <br/>} <br/>/* Given a reference (pointer to pointer) to the head of a list and <br/>   a key, deletes all occurrence of the given key in linked list */<br/>void deleteKey(struct Node **head_ref, int key) <br/>{ <br/>    // Store head node <br/>    struct Node* temp = *head_ref, *prev; <br/>    // If head node itself holds the key or multiple occurrences of key <br/>    while (temp != NULL &amp;&amp; temp-&gt;data == key) <br/>    { <br/>        *head_ref = temp-&gt;next;   // Changed head <br/>        free(temp);               // free old head <br/>        temp = *head_ref;         // Change Temp <br/>    } <br/>    // Delete occurrences other than head <br/>    while (temp != NULL) <br/>    { <br/>        // Search for the key to be deleted, keep track of the <br/>        // previous node as we need to change &#039;prev-&gt;next&#039; <br/>        while (temp != NULL &amp;&amp; temp-&gt;data != key) <br/>        { <br/>            prev = temp; <br/>            temp = temp-&gt;next; <br/>        } <br/>        // If key was not present in linked list <br/>        if (temp == NULL) return; <br/>        // Unlink the node from linked list <br/>        prev-&gt;next = temp-&gt;next; <br/>        free(temp);  // Free memory <br/>        //Update Temp for next iteration of outer loop <br/>        temp = prev-&gt;next; <br/>    } <br/>} <br/>// This function prints contents of linked list starting from <br/>// the given node <br/>void printList(struct Node *node) <br/>{ <br/>    while (node != NULL) <br/>    { <br/>        printf(&quot; %d &quot;, node-&gt;data); <br/>        node = node-&gt;next; <br/>    } <br/>} <br/>   /* Drier program to test above functions*/<br/>int main() <br/>{ <br/>    /* Start with the empty list */<br/>    struct Node* head = NULL; <br/>    push(&amp;head, 7); <br/>    push(&amp;head, 2); <br/>    push(&amp;head, 3); <br/>    push(&amp;head, 2); <br/>    push(&amp;head, 8); <br/>    push(&amp;head, 1); <br/>    push(&amp;head, 2); <br/>    push(&amp;head, 2); <br/>    int key = 2; // key to delete <br/>    puts(&quot;Created Linked List: &quot;); <br/>    printList(head); <br/>    deleteKey(&amp;head, key); <br/>    puts(&quot;\nLinked List after Deletion: &quot;); <br/>    printList(head); <br/>    return 0; <br/>}</code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<h2 id="output" class="color-purple">Output</h2>
</div>
</div>
<div class="Output">
<div class="hddn">
<figure class="highlight">
<pre><code class="hljs" data-lang=""><span class="nt">Created Linked List:
 2  2  1  8  2  3  2  7
Linked List after Deletion:
 1  8  3  7 </span></code></pre>
</figure>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/data-structure/delete-all-occurrences-of-a-given-key-in-a-linked-list/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Inorder Tree Traversal without recursion and without stack ?</title>
		<link>https://www.wikitechy.com/interview-questions/data-structure/inorder-tree-traversal-without-recursion-and-without-stack/</link>
					<comments>https://www.wikitechy.com/interview-questions/data-structure/inorder-tree-traversal-without-recursion-and-without-stack/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 17:29:55 +0000</pubDate>
				<category><![CDATA[Data Structure]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Bharti Airtel interview questions and answers]]></category>
		<category><![CDATA[binary search tree inorder traversal]]></category>
		<category><![CDATA[binary search tree traversal inorder preorder postorder example]]></category>
		<category><![CDATA[binary tree inorder traversal]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[bst inorder traversal]]></category>
		<category><![CDATA[c# tree traversal without recursion]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Te interview questions and answers]]></category>
		<category><![CDATA[construct binary tree from preorder and inorder traversal]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[inorder preorder postorder traversal]]></category>
		<category><![CDATA[inorder preorder postorder traversal examples pdf]]></category>
		<category><![CDATA[inorder preorder postorder traversal without recursion in c]]></category>
		<category><![CDATA[inorder traversal]]></category>
		<category><![CDATA[inorder traversal algorithm]]></category>
		<category><![CDATA[inorder traversal example]]></category>
		<category><![CDATA[inorder traversal iterative python]]></category>
		<category><![CDATA[inorder traversal java]]></category>
		<category><![CDATA[inorder traversal python]]></category>
		<category><![CDATA[inorder traversal with recursion]]></category>
		<category><![CDATA[inorder traversal without recursion]]></category>
		<category><![CDATA[inorder traversal without recursion and stack]]></category>
		<category><![CDATA[inorder traversal without recursion in c]]></category>
		<category><![CDATA[inorder traversal without recursion using stack in c]]></category>
		<category><![CDATA[inorder tree traversal]]></category>
		<category><![CDATA[inorder tree traversal without recursion]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[postorder traversal algorithm using stack]]></category>
		<category><![CDATA[postorder traversal without recursion]]></category>
		<category><![CDATA[preorder traversal without recursion]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tracxn Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[what is inorder traversal]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yodlee Infotech Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=507</guid>

					<description><![CDATA[Answer : To traverse the tree using Morris Traversal...
]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="inorder-tree-traversal-without-recursion-and-without-stack" class="color-pink" style="text-align: justify;">Inorder Tree Traversal without recursion and without stack ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>To traverse the tree using Morris Traversal is based on <a href="https://www.wikitechy.com/technology/threaded-binary-tree/" target="_blank" rel="noopener">Threaded Binary Tree</a> which means without using stack and recursion. In this traversal, we first create links to <a href="https://www.wikitechy.com/technology/python-program-inorder-successor-binary-search-tree/" target="_blank" rel="noopener">Inorder successor</a> and print the data using these links, and finally revert the changes to restore original tree.</li>
</ul>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li style="list-style-type: none;">
<ul>
<li>If current does not have left child
<ul>
<li>Print current’s data</li>
<li>Go to the right, i.e., current = current-&gt;right</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li style="list-style-type: none;">
<ul>
<li>Else
<ul>
<li>Make current as right child of the rightmost</li>
<li>node in current&#8217;s left subtree</li>
<li>Go to this left child, i.e., current = current-&gt;left</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>When the tree is modified through the traversal, it is reverted back to its original shape after the completion.</li>
<li>Unlike Stack based traversal, no extra space is required for this traversal.</li>
</ul>
</div>
</div>
<div class="read-also" style="text-align: justify;"></div>
<div class="text-center row" style="text-align: justify;"></div>
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code-in-c" class="color-red" style="text-align: justify;">Sample Code in C++</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">#include &lt;stdio.h&gt; <br/>#include &lt;stdlib.h&gt; <br/><br/>/* A binary tree tNode has data, pointer to left child <br/>and a pointer to right child */<br/>struct traversalNode { <br/>	int data; <br/>	struct traversalNode* left; <br/>	struct traversalNode* right; <br/>}; <br/><br/>/* Function to traverse binary tree without recursion and <br/>without stack */<br/>void MorrisTraversal(struct traversalNode* root) <br/>{ <br/>	struct traversalNode *current, *pre; <br/><br/>	if (root == NULL) <br/>		return; <br/><br/>	current = root; <br/>	while (current != NULL) { <br/><br/>		if (current-&gt;left == NULL) { <br/>			printf(&quot;%d &quot;, current-&gt;data); <br/>			current = current-&gt;right; <br/>		} <br/>		else { <br/><br/>			/* Find the inorder predecessor of current */<br/>			pre = current-&gt;left; <br/>			while (pre-&gt;right != NULL &amp;&amp; pre-&gt;right != current) <br/>				pre = pre-&gt;right; <br/><br/>			/* Make current as right child of its inorder <br/>			predecessor */<br/>			if (pre-&gt;right == NULL) { <br/>				pre-&gt;right = current; <br/>				current = current-&gt;left; <br/>			} <br/><br/>			/* Revert the changes made in if part to restore <br/>			the original tree i.e., fix the right child <br/>			of predecssor */<br/>			else { <br/>				pre-&gt;right = NULL; <br/>				printf(&quot;%d &quot;, current-&gt;data); <br/>				current = current-&gt;right; <br/>			} /* End of if condition pre-&gt;right == NULL */<br/>		} /* End of if condition current-&gt;left == NULL*/<br/>	} /* End of while */<br/>} <br/><br/>/* UTILITY FUNCTIONS */<br/>/* Helper function that allocates a new tNode with the <br/>given data and NULL left and right pointers. */<br/>struct traversalNode* newtraversalNode(int data) <br/>{ <br/>	struct traversalNode* node = new traversalNode; <br/>	node-&gt;data = data; <br/>	node-&gt;left = NULL; <br/>	node-&gt;right = NULL; <br/><br/>	return (node); <br/>} <br/><br/>/* Driver program to test above functions*/<br/>int main() <br/>{ <br/><br/>	/* Constructed binary tree is <br/>			12 <br/>		/ \ <br/>		13	 14 <br/>	/ \ <br/>	15	 16 <br/>*/<br/>	struct traversalNode* root = newtraversalNode(12); <br/>	root-&gt;left = newtraversalNode(13); <br/>	root-&gt;right = newtraversalNode(14); <br/>	root-&gt;left-&gt;left = newtraversalNode(15); <br/>	root-&gt;left-&gt;right = newtraversalNode(16); <br/><br/>	MorrisTraversal(root); <br/><br/>	return 0; <br/>} </code></pre> </div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="output" class="color-red">Output</h2>
</div>
</div>
<div class="Output" style="text-align: justify;">
<div class="hddn">
<figure class="highlight">
<pre><code class="hljs" data-lang=""><span class="nt">15 13 16 12 14 
</span></code></pre>
</figure>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;">Time Complexity : O(n) If we investigate, we can see that each edge of the tree is crossed at-most multiple times.</li>
<li style="text-align: justify;">Also, in most pessimistic scenario same number of additional edges (as info tree) are made and evacuated.</li>
</ul>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/data-structure/inorder-tree-traversal-without-recursion-and-without-stack/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to make linked list program for the given list ?</title>
		<link>https://www.wikitechy.com/interview-questions/data-structure/how-to-make-linked-list-program-for-the-given-list/</link>
					<comments>https://www.wikitechy.com/interview-questions/data-structure/how-to-make-linked-list-program-for-the-given-list/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 17:24:03 +0000</pubDate>
				<category><![CDATA[Data Structure]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Bharti Airtel interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Te interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[doubly linked list implementation in java]]></category>
		<category><![CDATA[ecare technology labs interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[how to create a linked list in java]]></category>
		<category><![CDATA[how to create a node in linked list in java]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[insert a node at a specific position in a linked list in java]]></category>
		<category><![CDATA[insert node at beginning of linked list in java]]></category>
		<category><![CDATA[insert node at beginning of linked list java program]]></category>
		<category><![CDATA[insertion in linked list algorithm]]></category>
		<category><![CDATA[java program to insert a node at the end in linked list]]></category>
		<category><![CDATA[linked list add method implementation]]></category>
		<category><![CDATA[linked list data structure in java]]></category>
		<category><![CDATA[linked list implementation in java]]></category>
		<category><![CDATA[linked list in java]]></category>
		<category><![CDATA[linked list in java program]]></category>
		<category><![CDATA[linked list insertion]]></category>
		<category><![CDATA[linked list java]]></category>
		<category><![CDATA[linked list java code]]></category>
		<category><![CDATA[linked list java program]]></category>
		<category><![CDATA[linked list node java]]></category>
		<category><![CDATA[linked list program in java]]></category>
		<category><![CDATA[linked list program in java for insertion and deletion]]></category>
		<category><![CDATA[linked list program in java with explanation]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[singly linked list algorithm]]></category>
		<category><![CDATA[singly linked list in data structure]]></category>
		<category><![CDATA[singly linked list java]]></category>
		<category><![CDATA[singly linked list program in java]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tracxn Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[user defined linked list in java]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yodlee Infotech Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=505</guid>

					<description><![CDATA[Answer : Linked List is a type of Linear Data Structure that is mostly used data structure....
]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="how-to-make-linked-list-program-for-the-given-list" class="color-pink" style="text-align: justify;">How to make linked list program for the given list ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li><a href="https://www.wikitechy.com/interview-questions/data-structure/what-is-linked-list-in-data-structure-with-example/" target="_blank" rel="noopener">Linked List</a> is a type of Linear <a href="https://www.wikitechy.com/interview-questions/data-structure/what-is-data-structure/" target="_blank" rel="noopener">Data Structure</a> that is mostly used data structure after array, which allocates memory dynamically at run time that is it doesn’t require any size initialization as in case of array.</li>
<li>Linked List stores data in the forms of nodes, which is divided into two parts, first part stores the data and second part points to the next node by storing the address of that node.</li>
<li>We have first node which contains Data and Address to next node, and similarly second and third node forming a chain.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/data-structure/linked-list-in-data-structure.png" alt="Linked List in Data Structure" /></div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="syntax" class="color-blue">Syntax</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>To create code, pattern required is:</li>
</ul>
</div>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight">
<pre><code id="code1" class="hljs javascript" data-lang=""><span class="nt">LinkedList&lt;<span class="hljs-built_in">String</span>&gt; linkedList=<span class="hljs-keyword">new</span> LinkedList&lt;<span class="hljs-built_in">String</span>&gt;()</span></code></pre>
</figure>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code-in-java" class="color-purple" style="text-align: justify;">Sample Code in Java</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-java code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-java code-embed-code">import java.util.Iterator;<br/><br/>import java.util.LinkedList;					<br/><br/>public class LinkedListDemo <br/>{<br/><br/>  public static void main (String[] args) {<br/><br/>  LinkedList&lt;String&gt; linkedList=new LinkedList&lt;String&gt;();<br/><br/>  linkedList.add(&quot;java&quot;);<br/><br/>  linkedList.add(&quot;Is&quot;);<br/><br/>  linkedList.add(&quot;High&quot;);<br/><br/>  linkedList.add(&quot;Level&quot;);<br/><br/>  linkedList.add(&quot;Language&quot;);<br/><br/>  Iterator&lt;String&gt; itr=linkedList.iterator();<br/><br/>  while(itr.hasNext())<br/>  {<br/><br/>   System.out.print(itr.next());<br/><br/>   System.out.print(&quot;\t&quot;);<br/><br/>  }<br/><br/> }<br/><br/>}</code></pre> </div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="output" class="color-purple">Output</h2>
</div>
</div>
<div class="Output">
<div class="hddn">
<figure class="highlight" style="text-align: justify;">
<pre><code class="hljs" data-lang=""><span class="nt">java Is High Level Language</span></code></pre>
</figure>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/data-structure/how-to-make-linked-list-program-for-the-given-list/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Difference between Array and Linked List ?</title>
		<link>https://www.wikitechy.com/interview-questions/data-structure/difference-between-array-and-linked-list/</link>
					<comments>https://www.wikitechy.com/interview-questions/data-structure/difference-between-array-and-linked-list/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 17:09:42 +0000</pubDate>
				<category><![CDATA[Data Structure]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[advantages and disadvantages of linked list over array]]></category>
		<category><![CDATA[advantages of linked list over array]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[array and linked list]]></category>
		<category><![CDATA[array linked list]]></category>
		<category><![CDATA[array of linked list]]></category>
		<category><![CDATA[array of linked lists java]]></category>
		<category><![CDATA[array vs linked list]]></category>
		<category><![CDATA[array vs list c#]]></category>
		<category><![CDATA[arraylist and linked list]]></category>
		<category><![CDATA[arraylist and linkedlist]]></category>
		<category><![CDATA[arraylist and linkedlist in java]]></category>
		<category><![CDATA[arraylist linkedlist]]></category>
		<category><![CDATA[arraylist vs linkedlist]]></category>
		<category><![CDATA[arraylist vs linkedlist in java]]></category>
		<category><![CDATA[Bharti Airtel interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Te interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between array and arraylist]]></category>
		<category><![CDATA[difference between array and linked list]]></category>
		<category><![CDATA[difference between array and linked list in java]]></category>
		<category><![CDATA[difference between array and list]]></category>
		<category><![CDATA[difference between array and list c#]]></category>
		<category><![CDATA[difference between array and list in c++]]></category>
		<category><![CDATA[difference between array and list in java]]></category>
		<category><![CDATA[difference between array and list python]]></category>
		<category><![CDATA[difference between arraylist and linked list]]></category>
		<category><![CDATA[difference between arraylist and linkedlist]]></category>
		<category><![CDATA[difference between arraylist and linkedlist in java]]></category>
		<category><![CDATA[difference between singly linked list and doubly linked list]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[infozech interview questions and answers]]></category>
		<category><![CDATA[java linkedlist vs arraylist]]></category>
		<category><![CDATA[linked list array]]></category>
		<category><![CDATA[linked list using array]]></category>
		<category><![CDATA[linked list vs array performance]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tracxn Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[what is the difference between array and pointer?]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yodlee Infotech Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=503</guid>

					<description><![CDATA[Answer : Arrays are index-based data structure...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="difference-between-array-and-linked-list" class="color-pink">Difference between Array and Linked List ?</h2>
</div>
</div>
<div class="table-responsive">
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th>Array</th>
<th>Linked List</th>
</tr>
<tr>
<td class="text-leftalign">Arrays are index-based data structure where each element<br />
associated with an index.</td>
<td class="text-leftalign"><a href="https://www.wikitechy.com/technology/quicksort-doubly-linked-list-3/" target="_blank" rel="noopener">Linked list</a> relies on references where each node consists of the data and the references to the previous and next element (in case of a doubly linked list) or the next element (in case of a singly linked list).</td>
</tr>
<tr>
<td class="text-leftalign">Array provides fast and random access.</td>
<td class="text-leftalign">Elements can’t be accessed randomly but can be<br />
accessed only sequentially and accessing element takes 0(n) time.</td>
</tr>
<tr>
<td class="text-leftalign">Elements are stored in consecutive manner in memory.</td>
<td class="text-leftalign">Elements can be stored at any available place as<br />
address of node is stored in previous node.</td>
</tr>
<tr>
<td class="text-leftalign">Insertion &amp; deletion takes more time in array as elements<br />
are stored in consecutive memory locations.</td>
<td class="text-leftalign">Insertion &amp; deletion are fast &amp; easy in linked list<br />
as only value of pointer is needed to change.</td>
</tr>
<tr>
<td class="text-leftalign">In array, memory is allocated at compile time<br />
i.e. Static Memory Allocation.</td>
<td class="text-leftalign">Memory is allocated at run time<br />
i.e. Dynamic Memory Allocation.</td>
</tr>
<tr>
<td class="text-leftalign">Array can be single dimensional, two dimensional<br />
or multidimensional.</td>
<td class="text-leftalign">Linked list can be singly, doubly or circular<br />
linked list.</td>
</tr>
<tr>
<td class="text-leftalign">Each element is independent, no connection with previous<br />
element or with its location.</td>
<td class="text-leftalign">Location or address of elements is stored in the<br />
link part of previous element/node.</td>
</tr>
</tbody>
</table>
</div>
<div class="text-center row">
<div class="col-sm-12">
<div id="bsa-zone_1590522538159-8_123456"></div>
</div>
</div>
<div class="ImageContent">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/data-structure/difference-between-array-and-linked-list.jpg" alt="Difference between Array and Linked List" /></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/data-structure/difference-between-array-and-linked-list/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Write a function to get the intersection point of two Linked Lists</title>
		<link>https://www.wikitechy.com/interview-questions/data-structure/write-a-function-to-get-the-intersection-point-of-two-linked-lists/</link>
					<comments>https://www.wikitechy.com/interview-questions/data-structure/write-a-function-to-get-the-intersection-point-of-two-linked-lists/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 17:04:15 +0000</pubDate>
				<category><![CDATA[Data Structure]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[add two numbers represented by linked lists]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Bharti Airtel interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Te interview questions and answers]]></category>
		<category><![CDATA[compro technologies interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[detect loop in linked list]]></category>
		<category><![CDATA[find the merge point of two linked lists in c++]]></category>
		<category><![CDATA[find the merge point of two linked lists in data structure]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[how to move a node in a linked list java]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[intersection of two linked lists]]></category>
		<category><![CDATA[intersection of two linked lists c++]]></category>
		<category><![CDATA[intersection of two linked lists in c]]></category>
		<category><![CDATA[intersection of two lists java]]></category>
		<category><![CDATA[intersection point in y shapped linked lists]]></category>
		<category><![CDATA[list intersection c++]]></category>
		<category><![CDATA[merge sort for linked list]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[pairwise swap of a linked list]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[swap nodes doubly linked list c++]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tracxn Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[union and intersection of two linked lists in c++]]></category>
		<category><![CDATA[union and intersection of two linked lists in python]]></category>
		<category><![CDATA[union and intersection of two linked lists using c++]]></category>
		<category><![CDATA[union find linked list java]]></category>
		<category><![CDATA[union of two linked lists c++]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yodlee Infotech Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=501</guid>

					<description><![CDATA[Answer : Intersection point means end of one linked list is linked..]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="write-a-function-to-get-the-intersection-point-of-two-linked-lists" class="color-pink" style="text-align: justify;">Write a function to get the intersection point of two Linked Lists</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Intersection point means end of one <a href="https://www.wikitechy.com/tutorials/csharp/csharp-linked-list" target="_blank" rel="noopener">linked list</a> is linked with some node in another linked list.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/data-structure/intersection-linked-list.png" alt=" data- linked-list" /></div>
</div>
<p style="text-align: justify;">Given two Linked Lists, create intersection lists that contain intersection of the elements present in the given lists.</p>
<div class="TextHeading">
<div class="hddn">
<h2 id="example" class="color-pink" style="text-align: justify;">Example</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markdown code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markdown code-embed-code">Input:<br/>   List1: 20-&gt;25-&gt;4-&gt;30<br/>   lsit2:  8-&gt;4-&gt;2-&gt;20<br/>Output:<br/>   Intersection List: 4-&gt;20</code></pre> </div>
<h2 id="sample-code-in-c" class="color-purple" style="text-align: justify;">Sample Code in C:</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">/ C program to get intersection point of two linked list  <br/>#include&lt;stdio.h&gt; <br/>#include&lt;stdlib.h&gt; <br/>  <br/>/* Link list node */<br/>struct Node <br/>{ <br/>  int data; <br/>  struct Node* next; <br/>}; <br/>  <br/>/* Function to get the counts of node in a linked list */<br/>int getCount(struct Node* head); <br/>  <br/>/* function to get the intersection point of two linked <br/>   lists head1 and head2 where head1 has d more nodes than <br/>   head2 */<br/>int _getIntesectionNode(int d, struct Node* head1, struct Node* head2); <br/>  <br/>/* function to get the intersection point of two linked <br/>   lists head1 and head2 */<br/>int getIntesectionNode(struct Node* head1, struct Node* head2) <br/>{ <br/>  int c1 = getCount(head1); <br/>  int c2 = getCount(head2); <br/>  int d; <br/>  <br/>  if(c1 &gt; c2) <br/>  { <br/>    d = c1 - c2; <br/>    return _getIntesectionNode(d, head1, head2); <br/>  } <br/>  else<br/>  { <br/>    d = c2 - c1; <br/>    return _getIntesectionNode(d, head2, head1); <br/>  } <br/>} <br/>  <br/>/* function to get the intersection point of two linked <br/>   lists head1 and head2 where head1 has d more nodes than <br/>   head2 */<br/>int _getIntesectionNode(int d, struct Node* head1, struct Node* head2) <br/>{ <br/>  int i; <br/>  struct Node* current1 = head1; <br/>  struct Node* current2 = head2; <br/>  <br/>  for(i = 0; i &lt; d; i++) <br/>  { <br/>    if(current1 == NULL) <br/>    {  return -1; } <br/>    current1 = current1-&gt;next; <br/>  } <br/>  <br/>  while(current1 !=  NULL &amp;&amp; current2 != NULL) <br/>  { <br/>    if(current1 == current2) <br/>      return current1-&gt;data; <br/>    current1= current1-&gt;next; <br/>    current2= current2-&gt;next; <br/>  } <br/>  <br/>  return -1; <br/>} <br/>  <br/>/* Takes head pointer of the linked list and <br/>   returns the count of nodes in the list */<br/>int getCount(struct Node* head) <br/>{ <br/>  struct Node* current = head; <br/>  int count = 0; <br/>  <br/>  while (current != NULL) <br/>  { <br/>    count++; <br/>    current = current-&gt;next; <br/>  } <br/>  <br/>  return count; <br/>} <br/>  <br/>/* IGNORE THE BELOW LINES OF CODE. THESE LINES <br/>   ARE JUST TO QUICKLY TEST THE ABOVE FUNCTION */<br/>int main() <br/>{ <br/>  /* <br/>    Create two linked lists <br/>  <br/>    1st 3-&gt;6-&gt;9-&gt;15-&gt;30 <br/>    2nd 10-&gt;15-&gt;30 <br/>  <br/>    15 is the intersection point <br/>  */<br/>  <br/>  struct Node* newNode; <br/>  struct Node* head1 = <br/>            (struct Node*) malloc(sizeof(struct Node)); <br/>  head1-&gt;data  = 10; <br/>  <br/>  struct Node* head2 = <br/>            (struct Node*) malloc(sizeof(struct Node)); <br/>  head2-&gt;data  = 3; <br/>  <br/>  newNode = (struct Node*) malloc (sizeof(struct Node)); <br/>  newNode-&gt;data = 6; <br/>  head2-&gt;next = newNode; <br/>  <br/>  newNode = (struct Node*) malloc (sizeof(struct Node)); <br/>  newNode-&gt;data = 9; <br/>  head2-&gt;next-&gt;next = newNode; <br/>  <br/>  newNode = (struct Node*) malloc (sizeof(struct Node)); <br/>  newNode-&gt;data = 15; <br/>  head1-&gt;next = newNode; <br/>  head2-&gt;next-&gt;next-&gt;next  = newNode; <br/>  <br/>  newNode = (struct Node*) malloc (sizeof(struct Node)); <br/>  newNode-&gt;data = 30; <br/>  head1-&gt;next-&gt;next= newNode; <br/>  <br/>  head1-&gt;next-&gt;next-&gt;next = NULL; <br/>  <br/>  printf(&quot;\n The node of intersection is %d \n&quot;, <br/>          getIntesectionNode(head1, head2)); <br/>  <br/>  getchar(); <br/>} </code></pre> </div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="code-explanation" class="color-purple">Code Explanation :</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Get count of the nodes in the first list, let count be c1.</li>
<li>Get count of the nodes in the second list, let count be c2.</li>
<li>Get the difference of counts d = abs (c1 &#8211; c2)</li>
<li>Now traverse the bigger list from the first node till d nodes so that from here onwards both the lists have equal no of nodes.</li>
<li>Then we can traverse both the lists in parallel till we come across a common node. (Note that getting a common node is done by comparing the address of the nodes)</li>
</ul>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<p align="justify">Time Complexity: O(m+n)<br />
Auxiliary Space: O(1)</p>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="output" class="color-blue">Output :</h2>
</div>
</div>
<div class="Output">
<div class="hddn">
<figure class="highlight" style="text-align: justify;">
<pre><code class="hljs javascript" data-lang=""><span class="nt">The node <span class="hljs-keyword">of</span> intersection is <span class="hljs-number">15</span></span></code></pre>
</figure>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/data-structure/write-a-function-to-get-the-intersection-point-of-two-linked-lists/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to delete an element in a linked list ?</title>
		<link>https://www.wikitechy.com/interview-questions/data-structure/how-to-delete-an-element-in-a-linked-list/</link>
					<comments>https://www.wikitechy.com/interview-questions/data-structure/how-to-delete-an-element-in-a-linked-list/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 16:57:20 +0000</pubDate>
				<category><![CDATA[Data Structure]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Bharti Airtel interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[c program to delete first node in linked list]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Te interview questions and answers]]></category>
		<category><![CDATA[compro technologies interview questions and answers]]></category>
		<category><![CDATA[delete a node from linked list algorithm]]></category>
		<category><![CDATA[delete a node in linked list with single pointer]]></category>
		<category><![CDATA[delete a specific node in linked list c++]]></category>
		<category><![CDATA[delete first node in linked list c++]]></category>
		<category><![CDATA[delete node at given position in a linked list]]></category>
		<category><![CDATA[delete node at given position in a linked list c++]]></category>
		<category><![CDATA[delete node at given position in a linked list in c++]]></category>
		<category><![CDATA[delete node linked list c++]]></category>
		<category><![CDATA[deletion in linked list in data structure]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[linked list delete node c++]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[remove element from linked list c++]]></category>
		<category><![CDATA[remove middle element linked list c++]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tracxn Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yodlee Infotech Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=499</guid>

					<description><![CDATA[Answer : To delete a node from linked list....]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="how-to-delete-an-element-in-a-linked-list" class="color-pink" style="text-align: justify;">How to delete an element in a linked list ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>To delete a node from <a href="https://www.wikitechy.com/tutorials/java/java-linked-list" target="_blank" rel="noopener">linked list</a>, we need to do following steps:
<ul>
<li>Find previous node of the node to be deleted.</li>
<li>Change the next of previous node.</li>
<li>Free memory for the node to be deleted</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/data-structure/linkedlist-deletion.png" alt=" " /></div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="example" class="color-purple">Example</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markdown code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markdown code-embed-code">Input: position = 1, Linked List = 9-&gt;2-&gt;3-&gt;7-&gt;6<br/>Output: Linked List =  9-&gt;3-&gt;7-&gt;6<br/><br/>Input: position = 0, Linked List = 9-&gt;2-&gt;3-&gt;7-&gt;6<br/>Output: Linked List = 2-&gt;3-&gt;7-&gt;6</code></pre> </div>
<h2 id="sample-code" class="color-purple">Sample code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-java code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-java code-embed-code">#include &lt;stdio.h&gt; <br/>#include &lt;stdlib.h&gt; <br/><br/>// A linked list node <br/>struct Node <br/>{ <br/>	int data; <br/>	struct Node *next; <br/>}; <br/><br/>/* Given a reference (pointer to pointer) to the head of a list <br/>and an int, inserts a new node on the front of the list. */<br/>void push(struct Node** head_ref, int new_data) <br/>{ <br/>	struct Node* new_node = (struct Node*) malloc(sizeof(struct Node)); <br/>	new_node-&gt;data = new_data; <br/>	new_node-&gt;next = (*head_ref); <br/>	(*head_ref) = new_node; <br/>} <br/><br/>/* Given a reference (pointer to pointer) to the head of a list <br/>and a position, deletes the node at the given position */<br/>void deleteNode(struct Node **head_ref, int position) <br/>{ <br/>// If linked list is empty <br/>if (*head_ref == NULL) <br/>	return; <br/><br/>// Store head node <br/>struct Node* temp = *head_ref; <br/><br/>	// If head needs to be removed <br/>	if (position == 0) <br/>	{ <br/>		*head_ref = temp-&gt;next; // Change head <br/>		free(temp);			 // free old head <br/>		return; <br/>	} <br/><br/>	// Find previous node of the node to be deleted <br/>	for (int i=0; temp!=NULL &amp;&amp; i&lt;position-1; i++) <br/>		temp = temp-&gt;next; <br/><br/>	// If position is more than number of ndoes <br/>	if (temp == NULL || temp-&gt;next == NULL) <br/>		return; <br/><br/>	// Node temp-&gt;next is the node to be deleted <br/>	// Store pointer to the next of node to be deleted <br/>	struct Node *next = temp-&gt;next-&gt;next; <br/><br/>	// Unlink the node from linked list <br/>	free(temp-&gt;next); // Free memory <br/><br/>	temp-&gt;next = next; // Unlink the deleted node from list <br/>} <br/><br/>// This function prints contents of linked list starting from <br/>// the given node <br/>void printList(struct Node *node) <br/>{ <br/>	while (node != NULL) <br/>	{ <br/>		printf(&quot; %d &quot;, node-&gt;data); <br/>		node = node-&gt;next; <br/>	} <br/>} <br/><br/>/* Drier program to test above functions*/<br/>int main() <br/>{ <br/>	/* Start with the empty list */<br/>	struct Node* head = NULL; <br/><br/>	push(&amp;head, 6); <br/>	push(&amp;head, 7); <br/>	push(&amp;head, 3); <br/>	push(&amp;head, 2); <br/>	push(&amp;head, 9); <br/><br/>	puts(&quot;Created Linked List: &quot;); <br/>	printList(head); <br/>	deleteNode(&amp;head, 4); <br/>	puts(&quot;\nLinked List after Deletion at position 4: &quot;); <br/>	printList(head); <br/>	return 0; <br/>}</code></pre> </div>
<h2 id="output" class="color-purple">Output:</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markdown code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markdown code-embed-code">Created Linked List: <br/> 9  2  3  7  6 <br/>Linked List after Deletion at position 4: <br/> 9  2  3  7</code></pre> </div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/data-structure/how-to-delete-an-element-in-a-linked-list/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to detect a cycle in a linked list ?</title>
		<link>https://www.wikitechy.com/interview-questions/data-structure/how-to-detect-a-cycle-in-a-linked-list/</link>
					<comments>https://www.wikitechy.com/interview-questions/data-structure/how-to-detect-a-cycle-in-a-linked-list/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 16:48:05 +0000</pubDate>
				<category><![CDATA[Data Structure]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Bharti Airtel interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[circular linked list java]]></category>
		<category><![CDATA[Collabera Te interview questions and answers]]></category>
		<category><![CDATA[Comodo India Interview Questions and Answers]]></category>
		<category><![CDATA[cycle detection linked list]]></category>
		<category><![CDATA[cycle detection solution]]></category>
		<category><![CDATA[cycle detection solution c++]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[find cycle in linked list]]></category>
		<category><![CDATA[find length of loop in linked list]]></category>
		<category><![CDATA[find loop in linked list]]></category>
		<category><![CDATA[find start of loop in linked list]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[floyd's cycle detection algorithm]]></category>
		<category><![CDATA[floyd's cycle finding algorithm]]></category>
		<category><![CDATA[floyd's cycle-finding algorithm c++]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[given a linked list]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[leetcode sort linked list]]></category>
		<category><![CDATA[link cycle]]></category>
		<category><![CDATA[linked list]]></category>
		<category><![CDATA[linked list cycle]]></category>
		<category><![CDATA[linked list in data structure]]></category>
		<category><![CDATA[linked lists detect a cycle]]></category>
		<category><![CDATA[list cycle]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[n'th node from end of linked list]]></category>
		<category><![CDATA[nested loops java]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[python linked list cycle]]></category>
		<category><![CDATA[remove loop in linked list]]></category>
		<category><![CDATA[return the node where the cycle begins. if there is no cycle]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tracxn Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[what is linked list in data structure]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yodlee Infotech Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=497</guid>

					<description><![CDATA[Answer : A linked list is said to contain a cycle ...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="how-to-detect-a-cycle-in-a-linked-list" class="color-pink" style="text-align: justify;">How to detect a cycle in a linked list ?</h2>
<ul style="text-align: justify;">
<li>A <a href="https://www.wikitechy.com/technology/circular-linked-list-introduction-applications/" target="_blank" rel="noopener">linked list</a> is said to contain a cycle if any node is visited more than once.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/data-structure/how-to-detect-a-cycle-in-a-linked-list.png" alt="How do you detect a cycle in a linked list" /></div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="method-1-using-hashing" class="color-green">Method 1 &#8211; Using Hashing</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Traverse the given list.</li>
<li>Insert each encountered node into a <a href="https://www.wikitechy.com/tutorials/java/java-hash-table" target="_blank" rel="noopener">hash table</a>.</li>
<li>If the current already present ,that means the cycle is present or not.</li>
</ul>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code" class="color-blue" style="text-align: justify;">Sample code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-java code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-java code-embed-code">#include &lt;iostream&gt;<br/>#include &lt;unordered_set&gt;<br/>using namespace std;<br/><br/>// Data Structure to store a linked list node<br/>struct Node<br/>{<br/>    int dt;<br/>    Node* next;<br/>};<br/><br/>// Helper function to create a new node with the given data and<br/>// pushes it onto the front of the list<br/>void push(Node*&amp; headRef, int dt)<br/>{<br/>    // create a new linked list node from heap<br/>    Node* newNode = new Node;<br/><br/>    newNode-&gt;dt = dt;<br/>    newNode-&gt;next = headRef;<br/>    headRef = newNode;<br/>}<br/><br/>// Function to detect Cycle in a linked list using Hashing<br/>bool detectcyc(Node *head)<br/>{<br/>    Node *current = head;<br/>    unordered_set&lt;Node*&gt; set;<br/><br/>    // traverse the list<br/>    while (current)<br/>    {<br/>        // return false if we already have seen this node before<br/>        if (set.find(current) != set.end())<br/>            return true;<br/><br/>        // insert current node into the set<br/>        set.insert(current);<br/><br/>        // move to the next node<br/>        current = current-&gt;next;<br/>    }<br/><br/>    // we reach here if list does not contain any cycle<br/>    return false;<br/>}<br/><br/>// Detect Cycle in a linked list<br/>int main()<br/>{<br/>    // input keys<br/>    int k[] = { 1, 2, 3, 4, 5 };<br/>    int n = sizeof(k) / sizeof(k[0]);<br/><br/>    Node* head = nullptr;<br/>    for (int i = n - 1; i &gt;= 0; i--)<br/>        push(head, k[i]);<br/><br/>    // insert cycle<br/>    head-&gt;next-&gt;next-&gt;next-&gt;next-&gt;next = head-&gt;next-&gt;next;<br/><br/>    if (detectcyc(head))<br/>        cout &lt;&lt; &quot;Cycle Found&quot;;<br/>    else<br/>        cout &lt;&lt; &quot;No Cycle Found&quot;;<br/><br/>    return 0;<br/>}</code></pre> </div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="output" class="color-blue">Output</h2>
</div>
</div>
<div class="Output" style="text-align: justify;">
<div class="hddn">
<figure class="highlight">
<pre><code class="hljs" data-lang=""><span class="nt">Cycle Found
</span></code></pre>
</figure>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="method-2-floyds-cycle-detection-algorithm" class="color-green">Method 2 &#8211; Floyd’s Cycle Detection Algorithm</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Use two pointers, which move through the sequence at different speed.</li>
<li>The fast <a href="https://www.wikitechy.com/tutorials/c++/c++-pointers-to-structure" target="_blank" rel="noopener">pointer</a> moves twice as quickly as the slow pointer.</li>
<li>Here the distance between the two pointers increased by 1 at each step.</li>
<li>If these <a href="https://www.wikitechy.com/tutorials/c++/pointer-to-array-in-c++" target="_blank" rel="noopener">pointers</a> meet at same node then there is a loop else <a href="https://www.wikitechy.com/technology/sorted-insert-circular-linked-list-2/" target="_blank" rel="noopener">linked list</a> doesn’t have loop.</li>
</ul>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code-2" class="color-blue" style="text-align: justify;">Sample Code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-java code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-java code-embed-code">#include &lt;iostream&gt;<br/>#include &lt;unordered_set&gt;<br/>using namespace std;<br/><br/>// Data Structure to store a linked list node<br/>struct Node<br/>{<br/>    int dt;<br/>    Node* next;<br/>};<br/><br/>// Helper function to create a new node with the given data and<br/>// pushes it onto the front of the list<br/>void push(Node*&amp; headRef, int dt)<br/>{<br/>    // create a new linked list node from heap<br/>    Node* nNode = new Node;<br/><br/>    nNode-&gt;dt = dt;<br/>    nNode-&gt;next = headRef;<br/>    headRef = nNode;<br/>}<br/><br/>// Function to detect Cycle in a linked list using<br/>// Floyd’s Cycle Detection Algorithm<br/>bool dcycle(Node *head)<br/>{<br/>    // take two pointers - slow and fast<br/>    Node *slow = head, *fast = head;<br/><br/>    while (fast &amp;&amp; fast-&gt;next)<br/>    {<br/>        // move slow by one pointer<br/>        slow = slow-&gt;next;<br/><br/>        // move fast by two pointers<br/>        fast = fast-&gt;next-&gt;next;<br/><br/>        // if they meet any any node, linked list contains a cycle<br/>        if (slow == fast)<br/>            return true;<br/>    }<br/><br/>    // we reach here if slow &amp; fast pointer do not meet<br/>    return false;<br/>}<br/><br/>// Detect Cycle in a linked list using Floyd’s Cycle Detection Algorithm<br/>int main()<br/>{<br/>    // input keys<br/>    int k[] = { 1, 2, 3, 4, 5 };<br/>    int n = sizeof(k) / sizeof(k[0]);<br/><br/>    Node* head = nullptr;<br/>    for (int i = n - 1; i &gt;= 0; i--)<br/>        push(head, k[i]);<br/><br/>    // insert cycle<br/>    head-&gt;next-&gt;next-&gt;next-&gt;next-&gt;next = head-&gt;next-&gt;next;<br/><br/>    if (dcycle(head))<br/>        cout &lt;&lt; &quot;Cycle Found&quot;;<br/>    else<br/>        cout &lt;&lt; &quot;No Cycle Found&quot;;<br/><br/>    return 0;<br/>}</code></pre> </div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="output-2" class="color-blue">Output</h2>
</div>
</div>
<div class="Output">
<div class="hddn">
<figure class="highlight" style="text-align: justify;">
<pre><code class="hljs" data-lang=""><span class="nt">Cycle Found</span></code></pre>
</figure>
</div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/data-structure/how-to-detect-a-cycle-in-a-linked-list/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is Binary Tree in Data Structures ?</title>
		<link>https://www.wikitechy.com/interview-questions/data-structure/what-is-binary-tree-in-data-structures/</link>
					<comments>https://www.wikitechy.com/interview-questions/data-structure/what-is-binary-tree-in-data-structures/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 16:37:21 +0000</pubDate>
				<category><![CDATA[Data Structure]]></category>
		<category><![CDATA[a full binary tree with n leaves contains]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[almost complete binary tree]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[array to bst]]></category>
		<category><![CDATA[b tree in data structure]]></category>
		<category><![CDATA[Bharti Airtel interview questions and answers]]></category>
		<category><![CDATA[binary search tree example]]></category>
		<category><![CDATA[binary search tree in data structure]]></category>
		<category><![CDATA[binary tree]]></category>
		<category><![CDATA[binary tree example]]></category>
		<category><![CDATA[binary tree in data structure program]]></category>
		<category><![CDATA[binary tree properties]]></category>
		<category><![CDATA[binary treetypes of binary tree]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[bst deletion]]></category>
		<category><![CDATA[bst in data structure]]></category>
		<category><![CDATA[bst java]]></category>
		<category><![CDATA[bst traversal]]></category>
		<category><![CDATA[bst tree]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Te interview questions and answers]]></category>
		<category><![CDATA[Comodo India Interview Questions and Answers]]></category>
		<category><![CDATA[complete binary tree in data structure]]></category>
		<category><![CDATA[complete binary tree properties]]></category>
		<category><![CDATA[data tree]]></category>
		<category><![CDATA[database tree structure]]></category>
		<category><![CDATA[define bst]]></category>
		<category><![CDATA[define tree in data structure]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between binary tree and complete binary tree]]></category>
		<category><![CDATA[extended binary tree]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[full binary tree]]></category>
		<category><![CDATA[full binary tree number of nodes]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[perfect binary tree]]></category>
		<category><![CDATA[properties of binary search tree]]></category>
		<category><![CDATA[properties of binary search tree in data structure]]></category>
		<category><![CDATA[properties of binary tree]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[strictly binary tree]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tracxn Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[tree algorithms]]></category>
		<category><![CDATA[tree data structure]]></category>
		<category><![CDATA[tree structure]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yodlee Infotech Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=495</guid>

					<description><![CDATA[Answer : Binary tree is a special type of data structure...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-binary-tree-in-data-structures" class="color-pink">What is Binary Tree in Data Structures ?</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li><a href="https://www.wikitechy.com/technology/c-program-lowest-common-ancestor-binary-search-tree/" target="_blank" rel="noopener">Binary tree</a> is a special type of <a href="https://www.wikitechy.com/technology/applications-tree-data-structure/" target="_blank" rel="noopener">data structure</a>. In binary tree, every node can have a maximum of 2 children, which are known as Left child and Right Child.</li>
<li>It is a method of placing and locating the records in a database, especially when all the data is known to be in random access memory (RAM).</li>
<li>A <a href="https://www.wikitechy.com/technology/c-program-check-binary-tree-bst-not/" target="_blank" rel="noopener">binary tree</a> has the benefits of both an ordered array and a linked list as search is as quick as in a <a href="https://www.wikitechy.com/technology/algorithm-in-c-median-of-two-sorted-arrays/" target="_blank" rel="noopener">sorted array</a> and insertion or deletion operation are as fast as in linked list.</li>
</ul>
</div>
</div>
<div class="ImageContent">
<div class="hddn"><img decoding="async" class="img-responsive center-block" src="https://cdn.wikitechy.com/interview-questions/data-structure/what-is-binary-tree-in-data-structures.jpg" alt="What is Binary Tree in Data Structures" /></div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="representation-of-binary-tree-using-array" class="color-green">Representation of Binary Tree using Array</h2>
</div>
</div>
<ul>
<li><a href="https://www.wikitechy.com/interview-questions/data-structure/if-the-depth-of-a-tree-is-3-levels-then-what-is-the-size-of-the-tree/" target="_blank" rel="noopener">Binary tree</a> using array represents a node which is numbered sequentially level by level from left to right. Even empty nodes are numbered.</li>
</ul>
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code" class="color-blue">Sample Code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-javascript code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-javascript code-embed-code">// JAVA implementation of tree using array <br/>// numbering starting from 0 to n-1. <br/>import java.util.*;<br/>import java.lang.*;<br/>import java.io.*;<br/><br/>class bTree {<br/>    public static void main(String[] args) {<br/>        btree_Array obj = new btree_Array();<br/>        obj.Root(&quot;P&quot;);<br/>        // obj.set_Left(&quot;Q&quot;, 0); <br/>        obj.set_Right(&quot;R&quot;, 0);<br/>        obj.set_Left(&quot;S&quot;, 1);<br/>        obj.set_Right(&quot;T&quot;, 1);<br/>        obj.set_Left(&quot;U&quot;, 2);<br/>        obj.print_Tree();<br/>    }<br/>}<br/><br/>class btree_Array {<br/>    static int root = 0;<br/>    static String[] s = new String[10];<br/><br/>    /*create root*/<br/>    public void Root(String key) {<br/>        s[0] = key;<br/>    }<br/><br/>    /*create left son of root*/<br/>    public void set_Left(String key, int root) {<br/>        int t = (root * 2) + 1;<br/><br/>        if (s[root] == null) {<br/>            System.out.printf(&quot;Can&#039;t set child at %d, no parent found\n&quot;, t);<br/>        } else {<br/>            s[t] = key;<br/>        }<br/>    }<br/><br/>    /*create right son of root*/<br/>    public void set_Right(String key, int root) {<br/>        int t = (root * 2) + 2;<br/><br/>        if (s[root] == null) {<br/>            System.out.printf(&quot;Can&#039;t set child at %d, no parent found\n&quot;, t);<br/>        } else {<br/>            s[t] = key;<br/>        }<br/>    }<br/><br/>    public void print_Tree() {<br/>        for (int i = 0; i &lt; 10; i++) {<br/>            if (s[i] != null)<br/>                System.out.print(s[i]);<br/>            else<br/>                System.out.print(&quot;-&quot;);<br/><br/>        }<br/>    }<br/>}</code></pre> </div>
<h2 id="output" class="color-purple">Output</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-javascript code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-javascript code-embed-code">Can&#039;t set child at 3, no parent found<br/>Can&#039;t set child at 4, no parent found<br/>P-R--U----</code></pre> </div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/data-structure/what-is-binary-tree-in-data-structures/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is Linked List in Data Structure with example ?</title>
		<link>https://www.wikitechy.com/interview-questions/data-structure/what-is-linked-list-in-data-structure-with-example/</link>
					<comments>https://www.wikitechy.com/interview-questions/data-structure/what-is-linked-list-in-data-structure-with-example/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 15:28:48 +0000</pubDate>
				<category><![CDATA[Data Structure]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[algorithm for creation of singly linked list in data structure]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Apostek Software Interview Questions and Answers]]></category>
		<category><![CDATA[application of linked list in data structure]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Bharti Airtel interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[circular linked list in data structure]]></category>
		<category><![CDATA[circular linked list in data structure program]]></category>
		<category><![CDATA[Collabera Te interview questions and answers]]></category>
		<category><![CDATA[data structure projects using linked list]]></category>
		<category><![CDATA[deletion in linked list in data structure]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[doubly linked list]]></category>
		<category><![CDATA[doubly linked list deletion]]></category>
		<category><![CDATA[doubly linked list in c]]></category>
		<category><![CDATA[doubly linked list in c++ source code]]></category>
		<category><![CDATA[doubly linked list in data structure]]></category>
		<category><![CDATA[doubly linked list insertion]]></category>
		<category><![CDATA[doubly linked list java]]></category>
		<category><![CDATA[doubly linked list program in data structure]]></category>
		<category><![CDATA[example of linked list in data structure]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Globallogic India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[insertion and deletion in linked list in data structure]]></category>
		<category><![CDATA[java linked list traversal]]></category>
		<category><![CDATA[linked list algorithm in data structure]]></category>
		<category><![CDATA[linked list c]]></category>
		<category><![CDATA[linked list data structure in c]]></category>
		<category><![CDATA[linked list data structure in java]]></category>
		<category><![CDATA[linked list in data structure]]></category>
		<category><![CDATA[linked list in data structure using c]]></category>
		<category><![CDATA[linked list insertion]]></category>
		<category><![CDATA[linked list program in data structure]]></category>
		<category><![CDATA[linked lists java]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[singly linked list algorithm]]></category>
		<category><![CDATA[singly linked list algorithm in data structure]]></category>
		<category><![CDATA[singly linked list c++]]></category>
		<category><![CDATA[singly linked list in data structure]]></category>
		<category><![CDATA[singly linked list in data structure program]]></category>
		<category><![CDATA[singly linked list java]]></category>
		<category><![CDATA[singly linked list program in c]]></category>
		<category><![CDATA[singly linked list program in data structure]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tracxn Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[types of linked list]]></category>
		<category><![CDATA[types of linked list in data structure]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[what is linked list in data structure]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yodlee Infotech Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=493</guid>

					<description><![CDATA[Answer : A linked list is a sequence of data structures, which are connected...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-linked-list-in-data-structure-with-example" class="color-pink" style="text-align: justify;">What is Linked List in Data Structure with example ?</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul style="text-align: justify;">
<li>A linked list is a sequence of <a href="https://www.wikitechy.com/interview-questions/data-structure/what-is-data-structure/" target="_blank" rel="noopener">data structures</a>, which are connected together through links.</li>
<li><a href="https://www.wikitechy.com/tutorials/java/java-linked-list" target="_blank" rel="noopener">Linked List</a> is a sequence of links which contains objects. Each link contains a connection to another link. Linked list is the second most-used data structure after array.
<ul>
<li><b>Link − </b>Each link of a linked list can store a data called an element.</li>
<li><b>Next − </b>Each link of a linked list contains a link to the next link called Next.</li>
<li><b>LinkedList −</b> A Linked List contains the connection link to the first link called First.</li>
</ul>
</li>
</ul>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>A linked list consists of nodes where each node contains a data field and a reference(link) to the next node in the list.</li>
</ul>
</div>
</div>
<div class="ImageContent">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/data-structure/linked-list-in-data-structure.png" alt="Linked List in Data Structure" /></div>
<div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="types-of-linked-lists" class="color-purple">Types of Linked Lists</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Singly linked list</li>
<li>Doubly linked list</li>
<li>Circular linked list</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="singly-linked-list">Singly linked list</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>A <a href="https://www.wikitechy.com/technology/python-programming-select-random-node-singly-linked-list/">singly linked list</a> is Item navigation is forward only.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/data-structure/singly-linked-list.png" alt="Singly Linked List" /></div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="doubly-linked-list">Doubly linked list</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>A doubly linked list is a list that has two references, one to the next node and another to previous node.</li>
</ul>
</div>
</div>
<div class="ImageContent">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/data-structure/doubly-linked-list.gif" alt="Doubly linked list" /></div>
<div>
<div class="subheading" style="text-align: justify;">
<h2 id="circular-linked-list">Circular linked list</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Another important type of a linked list is called a <a href="https://www.wikitechy.com/technology/circular-linked-list-introduction-applications/" target="_blank" rel="noopener">circular linked list</a> where last node of the list points back to the first node (or the head) of the list.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/data-structure/circular-linked-list.jpg" alt="Circular linked list" /></div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="doubly-circular-linked-list">Doubly Circular linked list</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Circular doubly linked list is a type of data structure in which a node contain pointers to its previous node as well as the next node.</li>
<li>Circular doubly linked list doesn&#8217;t contain NULL in any of the node.</li>
<li>The last node contains the address of the first node of the list. The first node also contain address of the last node in its previous pointer.</li>
</ul>
</div>
</div>
<div class="ImageContent">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/data-structure/doubly-circular-linked-list.jpg" alt="Doubly Circular linked list" /></div>
<div>
<h2 id="sample-code" class="color-purple" style="text-align: justify;">Sample Code:</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-javascript code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-javascript code-embed-code">#include&lt;stdio.h&gt;<br/>#include &lt;stdlib.h&gt;<br/>int main()<br/>{<br/>   struct node<br/>   {<br/>      int num;<br/>      struct node *ptr;<br/>   };<br/>   typedef struct node NODE;<br/>   NODE *head, *first, *temp=0;<br/>   int count = 0;<br/>   int choice = 1;<br/>   first = 0;<br/>   while(choice)<br/>   {<br/>      head =(NODE*) malloc(sizeof(NODE));<br/>      printf(&quot;Enter the data item: &quot;);<br/>      scanf(&quot;%d&quot;, &amp;head-&gt; num);<br/>      if(first != 0)<br/>      {<br/>         temp-&gt;ptr = head;temp = head;<br/>      }<br/>      else<br/>      {<br/>         first = temp = head;<br/>      }<br/>      fflush(stdin);<br/>      printf(&quot;Do you want to continue(Type 0 or 1)?\n\n&quot;);<br/>      scanf(&quot;%d&quot;, &amp;choice);<br/>   }<br/>   temp-&gt;ptr = 0;<br/>   temp = first; /* reset temp to the beginning*/<br/>   printf(&quot;\n Status of the linked list is\n&quot;);<br/>   while(temp!=0)<br/>   {<br/>      printf(&quot;%d=&gt;&quot;, temp-&gt;num);<br/>      count++;<br/>      temp = temp -&gt; ptr;<br/>   }<br/>   printf(&quot;NULL\n&quot;);<br/>   printf(&quot;No. of nodes in the list = %d\n&quot;, count);<br/>   return 0;<br/>}</code></pre> </div>
<h2 id="output" class="color-purple" style="text-align: justify;">Output:</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markdown code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markdown code-embed-code">Enter the data item: 10<br/>Do you want to continue &lt;Type 0 or 1&gt;?<br/>1<br/>Enter the data item: 20<br/>Do you want to continue&lt;Type 0 or 1&gt;?<br/>1<br/>Enter the data item: 30<br/>Do you want to continue&lt;Type 0 or 1&gt;?<br/>0<br/>Status of the Linked List is<br/>10=&gt;20=&gt;30=&gt;NULL<br/>No.of nodes in the list = 3</code></pre> </div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="advantages-of-linked-list" class="color-purple">Advantages of Linked List</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Linked list is dynamic in nature which allocates the memory when required.</li>
<li>In linked list, stack and queue can be easily executed.</li>
<li>It reduces the access time.</li>
<li>Insert and delete operation can be easily implemented in linked list.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="disadvantages-of-linked-list" class="color-purple">Disadvantages of Linked List</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;">Reverse traversing is difficult in linked list.</li>
<li style="text-align: justify;">Linked list has to access each node sequentially; no element can be accessed randomly.</li>
<li style="text-align: justify;">In linked list, the memory is wasted as pointer requires extra memory for storage.</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/data-structure/what-is-linked-list-in-data-structure-with-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
