<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: C Program to Reverse a Linked List using Recursion	</title>
	<atom:link href="https://webrewrite.com/program-reverse-linked-list-using-recursion/feed/" rel="self" type="application/rss+xml" />
	<link>https://webrewrite.com/program-reverse-linked-list-using-recursion/</link>
	<description>Technology Blog Where You Find Programming Tips and Tricks</description>
	<lastBuildDate>Sun, 30 Apr 2017 16:37:06 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Aman Rustagi		</title>
		<link>https://webrewrite.com/program-reverse-linked-list-using-recursion/#comment-784</link>

		<dc:creator><![CDATA[Aman Rustagi]]></dc:creator>
		<pubDate>Sun, 18 Sep 2016 07:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://webrewrite.com/?p=1578#comment-784</guid>

					<description><![CDATA[Algorithm to &lt;a href=&quot;http://www.techcrashcourse.com/2016/06/program-to-reverse-linked-list-iteration-recursion.html&quot; rel=&quot;nofollow&quot;&gt;reverse a linked list&lt;/a&gt; using iteration
1. We will use three node pointer &quot;previous&quot;, &quot;current&quot; and &quot;next&quot; to keep track of previous, current and next node during linked list reversal.
2. Initialize current pointer to head and previous pointer to NULL.
3. Traverse &lt;a href=&quot;http://www.techcrashcourse.com/2016/06/merge-two-sorted-linked-list.html&quot; rel=&quot;nofollow&quot;&gt;linked list&lt;/a&gt; from head till current-&#062;next != NULL.
4. In every iteration, set current-&#062;next = previous; and move all three pointers to next node.
5. Return previous pointer. This is the new head pointer of reversed &lt;a href=&quot;http://www.techcrashcourse.com/2016/06/program-union-and-intersection-of-two-linked-lists.html&quot; rel=&quot;nofollow&quot;&gt;linked list&lt;/a&gt;.]]></description>
			<content:encoded><![CDATA[<p>Algorithm to <a href="http://www.techcrashcourse.com/2016/06/program-to-reverse-linked-list-iteration-recursion.html" rel="nofollow">reverse a linked list</a> using iteration<br />
1. We will use three node pointer &#8220;previous&#8221;, &#8220;current&#8221; and &#8220;next&#8221; to keep track of previous, current and next node during linked list reversal.<br />
2. Initialize current pointer to head and previous pointer to NULL.<br />
3. Traverse <a href="http://www.techcrashcourse.com/2016/06/merge-two-sorted-linked-list.html" rel="nofollow">linked list</a> from head till current-&gt;next != NULL.<br />
4. In every iteration, set current-&gt;next = previous; and move all three pointers to next node.<br />
5. Return previous pointer. This is the new head pointer of reversed <a href="http://www.techcrashcourse.com/2016/06/program-union-and-intersection-of-two-linked-lists.html" rel="nofollow">linked list</a>.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
