<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Technical Interview Preparation</title>
	<atom:link href="http://techbrother.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://techbrother.wordpress.com</link>
	<description>Let's Talk Technical</description>
	<lastBuildDate>Wed, 04 Jun 2008 17:58:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='techbrother.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Technical Interview Preparation</title>
		<link>http://techbrother.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://techbrother.wordpress.com/osd.xml" title="Technical Interview Preparation" />
	<atom:link rel='hub' href='http://techbrother.wordpress.com/?pushpress=hub'/>
		<item>
		<title>There are 25 horses and only 5 tracks. No of matches to find top 3 horses.</title>
		<link>http://techbrother.wordpress.com/2008/03/01/there-are-25-horses-and-only-5-tracks-no-of-matches-to-find-top-3-horses/</link>
		<comments>http://techbrother.wordpress.com/2008/03/01/there-are-25-horses-and-only-5-tracks-no-of-matches-to-find-top-3-horses/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 20:27:00 +0000</pubDate>
		<dc:creator>techbrother</dc:creator>
				<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[Logical Interview Puzzles]]></category>

		<guid isPermaLink="false">http://techbrother.wordpress.com/2008/03/01/there-are-25-horses-and-only-5-tracks-no-of-matches-to-find-top-3-horses/</guid>
		<description><![CDATA[Problem:There are 25 horses and only 5 tracks. So only 5 horses can run the race at a time. How many minimum no of races should be conducted to find the 3 best horses?Sol: The answer is 7.Round 1: Take 5 horses at a time. 5 winners of each race will go to round2.Round 2: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=55&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong><br />There are 25 horses and only 5 tracks. So only 5 horses can run the race at a time. How many minimum no of races should be conducted to find the 3 best horses?<br /><strong>Sol:</strong>        The answer is 7.<br />Round 1: Take 5 horses at a time. 5 winners of each race will go to round2.<br />Round 2: Winner of this will be top most horse.(call it W1)<br />Round 3: Final race comprises of following 5 horses.<br />h1: 2nd horse of round2<br />h2:3rd horse of round2<br />h3:2nd horse of W1&#8242;s group during round 1<br />h4:3rd horse of W1&#8242;s group during round1<br />h5:2nd horse of h1&#8242;s group during round1</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techbrother.wordpress.com/55/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techbrother.wordpress.com/55/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techbrother.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techbrother.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techbrother.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techbrother.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techbrother.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techbrother.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techbrother.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techbrother.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techbrother.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techbrother.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techbrother.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techbrother.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techbrother.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techbrother.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=55&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techbrother.wordpress.com/2008/03/01/there-are-25-horses-and-only-5-tracks-no-of-matches-to-find-top-3-horses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/111bcc45723d4ad8a0f9a147d88d0741?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techbrother</media:title>
		</media:content>
	</item>
		<item>
		<title>Hat color problem&#8211;most asked question in interviews..</title>
		<link>http://techbrother.wordpress.com/2008/02/29/hat-color-problem-most-asked-question-in-interviews/</link>
		<comments>http://techbrother.wordpress.com/2008/02/29/hat-color-problem-most-asked-question-in-interviews/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 19:18:00 +0000</pubDate>
		<dc:creator>techbrother</dc:creator>
				<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[Logical Interview Puzzles]]></category>

		<guid isPermaLink="false">http://techbrother.wordpress.com/2008/02/29/hat-color-problem-most-asked-question-in-interviews/</guid>
		<description><![CDATA[http://en.wikipedia.org/wiki/Prisoners_and_hats_puzzle<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=54&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>http://en.wikipedia.org/wiki/Prisoners_and_hats_puzzle</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techbrother.wordpress.com/54/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techbrother.wordpress.com/54/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techbrother.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techbrother.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techbrother.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techbrother.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techbrother.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techbrother.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techbrother.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techbrother.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techbrother.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techbrother.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techbrother.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techbrother.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techbrother.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techbrother.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=54&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techbrother.wordpress.com/2008/02/29/hat-color-problem-most-asked-question-in-interviews/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/111bcc45723d4ad8a0f9a147d88d0741?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techbrother</media:title>
		</media:content>
	</item>
		<item>
		<title>Two tribes one always tells true other false&#8230;.</title>
		<link>http://techbrother.wordpress.com/2008/02/29/two-tribes-one-always-tells-true-other-false/</link>
		<comments>http://techbrother.wordpress.com/2008/02/29/two-tribes-one-always-tells-true-other-false/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 18:30:00 +0000</pubDate>
		<dc:creator>techbrother</dc:creator>
				<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[Logical Interview Puzzles]]></category>

		<guid isPermaLink="false">http://techbrother.wordpress.com/2008/02/29/two-tribes-one-always-tells-true-other-false/</guid>
		<description><![CDATA[There were 2 tribes living on an island. The east tribal people always tell a lie. The west tribal people always tell the truth. Alan and Bryan came from the same tribe. However, we do not know which tribe they came from. When they were asked the marital status, Alan said: “Both of us are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=53&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There were 2 tribes living on an island. The east tribal people always tell a lie. The west tribal people always tell the truth. Alan and Bryan came from the same tribe. However, we do not know which tribe they came from. When they were asked the marital status, Alan said: “Both of us are married.” But Bryan said: “I am not married”. Are they really married?</p>
<p>Ans:</p>
<p>Both are from same tribe. It means either both of them will lie or both will tell true. If we look at the statements both of them contradicts about Bryan&#8217;s marital status. It means one of them is not telling truth, as they are from same tribe it concludes that they are from<span style="font-weight:bold;"> east tribe</span>. It means Bryan is married and Alan&#8217;s status is unclear.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techbrother.wordpress.com/53/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techbrother.wordpress.com/53/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techbrother.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techbrother.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techbrother.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techbrother.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techbrother.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techbrother.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techbrother.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techbrother.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techbrother.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techbrother.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techbrother.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techbrother.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techbrother.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techbrother.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=53&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techbrother.wordpress.com/2008/02/29/two-tribes-one-always-tells-true-other-false/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/111bcc45723d4ad8a0f9a147d88d0741?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techbrother</media:title>
		</media:content>
	</item>
		<item>
		<title>Design a stack which have O(1) time complexity for finding the minimum element?</title>
		<link>http://techbrother.wordpress.com/2008/02/17/design-a-stack-which-have-o1-time-complexity-for-finding-the-minimum-element/</link>
		<comments>http://techbrother.wordpress.com/2008/02/17/design-a-stack-which-have-o1-time-complexity-for-finding-the-minimum-element/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 14:00:00 +0000</pubDate>
		<dc:creator>techbrother</dc:creator>
				<category><![CDATA[Data Structures]]></category>
		<category><![CDATA[Interview Questions]]></category>

		<guid isPermaLink="false">http://techbrother.wordpress.com/2008/02/17/design-a-stack-which-have-o1-time-complexity-for-finding-the-minimum-element/</guid>
		<description><![CDATA[We can think of two different solutions -Sol 1:With additional memory where time complexity of findmin(),Push(),Pop() is O(1) but space complexity is O(n). Along with pushing the elements push the current minimum on to the stack. For pop operation pop 2 elements instead of 1 , it is still O(1).For ex: Let us assume the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=52&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We can think of two different solutions -<br />Sol 1:<br />With additional memory where time complexity of findmin(),Push(),Pop() is O(1) but space complexity is O(n). Along with pushing the elements push the current minimum on to the stack. For pop operation pop 2 elements instead of 1 , it is still O(1).<br />For ex: Let us assume the following numbers which are pushed on to the stack.<br />4 2 9 3 6 1<br />Stack state will be something like below<br />4 4 2 2 9 2 3 2 6 2 1 1.<br />POP(x) = pop(), pop().<br />Where POP(x) is modified stack pop operation. pop() is standard pop() operation.<br />FINDMIN(x)=pop()<br />PUSH(x)=push() and push( MIN(pop(),elem)).<br />Where PUSH(x) is modified stack push operation. push() is standard push() operation.<br />Here storage needed for stack is 2n where n is number of elements in the stack.</p>
<p>Sol 2:</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techbrother.wordpress.com/52/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techbrother.wordpress.com/52/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techbrother.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techbrother.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techbrother.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techbrother.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techbrother.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techbrother.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techbrother.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techbrother.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techbrother.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techbrother.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techbrother.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techbrother.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techbrother.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techbrother.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=52&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techbrother.wordpress.com/2008/02/17/design-a-stack-which-have-o1-time-complexity-for-finding-the-minimum-element/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/111bcc45723d4ad8a0f9a147d88d0741?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techbrother</media:title>
		</media:content>
	</item>
		<item>
		<title>Difference Between Composition and Aggregation in Object Oriented Programming?</title>
		<link>http://techbrother.wordpress.com/2008/02/13/difference-between-composition-and-aggregation-in-object-oriented-programming/</link>
		<comments>http://techbrother.wordpress.com/2008/02/13/difference-between-composition-and-aggregation-in-object-oriented-programming/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 18:13:00 +0000</pubDate>
		<dc:creator>techbrother</dc:creator>
				<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[OOAD]]></category>

		<guid isPermaLink="false">http://techbrother.wordpress.com/2008/02/13/difference-between-composition-and-aggregation-in-object-oriented-programming/</guid>
		<description><![CDATA[Both are one way of extending a class. In a composition relationship, the whole has sole responsibility for the disposition of its parts, or as you put it above, the whole &#8220;controls the lifetime of&#8221; the part. In order for the wholeto have &#8220;sole disposition&#8221; or &#8220;control the lifetime&#8221; of its parts, the whole must [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=51&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Both are one way of extending a class.</p>
<p>In a <span style="font-weight:bold;">composition</span> relationship, the whole has sole responsibility for the disposition of its parts, or as you put it above, the whole &#8220;controls the lifetime of&#8221; the part. In order for the whole<br />to have &#8220;sole disposition&#8221; or &#8220;control the lifetime&#8221; of its parts, the whole must be the only object that knows of the parts existence.</p>
<p><span style="font-weight:bold;">C++ Code Example:</span></p>
<p>class Whole {<br />Part* part;<br />public:<br />Whole(): part( 0 ) { }<br />~Whole() { delete part; }<br />};<br />Part is created inside Whole class constructor and it is destroyed when whole is destroyed.</p>
<p><span style="font-weight:bold;">Real Life Example:</span><br />University and Departments have a composition relationship. When University is created all the departments are created with it. When University is removed departments will not have the existance of their own.</p>
<p>In <span style="font-weight:bold;">aggregation</span> relationship, the<span style="font-weight:bold;font-style:italic;"> </span><span style="font-style:italic;">part </span>object reference can be re-used. Usually creation of part object is not the responsibility of the<span style="font-style:italic;"> ‘whole ‘</span><span style="font-style:italic;"> </span>object. It would have been created somewhere else, and passed to the ‘whole’ object as a method argument.  <span style="font-style:italic;">Whole object  </span>will not have control on the lifetime of the <span style="font-style:italic;">part </span>object.</p>
<p>class Whole {<br />Part* part;<br />public:<br />Whole() { }<br />~Whole() {  }<br />};</p>
<p><span style="font-weight:bold;">Real Life Example:<br /><span style="font-weight:bold;"><span style="font-weight:bold;"><br /></span></span></span>University and Professors are in aggregation relationship. When University is formed professors will come and join the University. But, when University is removed Professors will still exists and they can work in other Universities.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techbrother.wordpress.com/51/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techbrother.wordpress.com/51/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techbrother.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techbrother.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techbrother.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techbrother.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techbrother.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techbrother.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techbrother.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techbrother.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techbrother.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techbrother.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techbrother.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techbrother.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techbrother.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techbrother.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=51&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techbrother.wordpress.com/2008/02/13/difference-between-composition-and-aggregation-in-object-oriented-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/111bcc45723d4ad8a0f9a147d88d0741?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techbrother</media:title>
		</media:content>
	</item>
		<item>
		<title>Given a singly linked list, determine whether it contains a loop or not.</title>
		<link>http://techbrother.wordpress.com/2008/02/02/given-a-singly-linked-list-determine-whether-it-contains-a-loop-or-not/</link>
		<comments>http://techbrother.wordpress.com/2008/02/02/given-a-singly-linked-list-determine-whether-it-contains-a-loop-or-not/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 18:10:00 +0000</pubDate>
		<dc:creator>techbrother</dc:creator>
				<category><![CDATA[Data Structures]]></category>
		<category><![CDATA[Interview Questions]]></category>

		<guid isPermaLink="false">http://techbrother.wordpress.com/2008/02/02/given-a-singly-linked-list-determine-whether-it-contains-a-loop-or-not/</guid>
		<description><![CDATA[1. Start reversing the list. If you reach the head, then there is a loop.But this changes the list. So, reverse the list again.2. Second solution is called Hare and Tortoise approach. Basically have 2 ptrs bothpointing to the start of the list. Increment first pointer by one andsecond pointer by 2. After each increment [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=50&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Arial;">1. Start reversing the list. If you reach the head, then there is a loop.<br />But this changes the list. So, reverse the list again.<br />2. </span>Second solution is called Hare and Tortoise approach. Basically have 2 ptrs both<br />pointing to the start of the list. Increment first pointer by one and<br />second pointer by 2. After each increment comapre if they are equal. They will meet if there is a loop.<span style="font-family:Arial;"> </span></p>
<p><span style="font-family:Arial;"><span style="font-size:+0;"><br /></span>p1 = p2 = head;</span><span style="font-family:Arial;"><span style="font-size:+0;"><br /></span>do {</span><span style="font-family:Arial;"><span style="font-size:+0;"><br /></span>p1 = p1-&gt;next;</span><span style="font-family:Arial;"><span style="font-size:+0;"><br /></span>p2 = p2-&gt;next-&gt;next;</span><span style="font-family:Arial;"><span style="font-size:+0;"><br /></span>} while (p1 != p2);</p>
<p>3. Hash all seen nodes and compare the next node with the nodes in the hash. If a node is already present in the hash then there is a loop.</p>
<p></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techbrother.wordpress.com/50/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techbrother.wordpress.com/50/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techbrother.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techbrother.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techbrother.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techbrother.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techbrother.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techbrother.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techbrother.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techbrother.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techbrother.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techbrother.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techbrother.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techbrother.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techbrother.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techbrother.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=50&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techbrother.wordpress.com/2008/02/02/given-a-singly-linked-list-determine-whether-it-contains-a-loop-or-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/111bcc45723d4ad8a0f9a147d88d0741?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techbrother</media:title>
		</media:content>
	</item>
		<item>
		<title>Under what circumstances can one delete an element from a singly linked list in constant time?</title>
		<link>http://techbrother.wordpress.com/2008/02/02/under-what-circumstances-can-one-delete-an-element-from-a-singly-linked-list-in-constant-time/</link>
		<comments>http://techbrother.wordpress.com/2008/02/02/under-what-circumstances-can-one-delete-an-element-from-a-singly-linked-list-in-constant-time/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 18:06:00 +0000</pubDate>
		<dc:creator>techbrother</dc:creator>
				<category><![CDATA[Data Structures]]></category>
		<category><![CDATA[Interview Questions]]></category>

		<guid isPermaLink="false">http://techbrother.wordpress.com/2008/02/02/under-what-circumstances-can-one-delete-an-element-from-a-singly-linked-list-in-constant-time/</guid>
		<description><![CDATA[If the list is circular and there are no references to the nodes in the list from anywhere else! Just copy the contents of the next node and delete the next node. If the list is not circular, we can delete any but the last node using this idea. In that case, mark the last [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=49&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Arial;">If the list is circular and there are no references to the nodes in the list from anywhere else! Just copy the contents of the next node and delete the next node. If the list is not circular, we can delete any but the last node using this idea. In that case, mark the last node as dummy! </span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techbrother.wordpress.com/49/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techbrother.wordpress.com/49/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techbrother.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techbrother.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techbrother.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techbrother.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techbrother.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techbrother.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techbrother.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techbrother.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techbrother.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techbrother.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techbrother.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techbrother.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techbrother.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techbrother.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=49&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techbrother.wordpress.com/2008/02/02/under-what-circumstances-can-one-delete-an-element-from-a-singly-linked-list-in-constant-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/111bcc45723d4ad8a0f9a147d88d0741?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techbrother</media:title>
		</media:content>
	</item>
		<item>
		<title>Remove duplicates from a linked list ?</title>
		<link>http://techbrother.wordpress.com/2008/02/02/remove-duplicates-from-a-linked-list/</link>
		<comments>http://techbrother.wordpress.com/2008/02/02/remove-duplicates-from-a-linked-list/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 17:59:00 +0000</pubDate>
		<dc:creator>techbrother</dc:creator>
				<category><![CDATA[Data Structures]]></category>
		<category><![CDATA[Interview Questions]]></category>

		<guid isPermaLink="false">http://techbrother.wordpress.com/2008/02/02/remove-duplicates-from-a-linked-list/</guid>
		<description><![CDATA[NODE *DupRem(NODE *head){ NODE *p1 = head, *p2, *resultList = NULL, *temp = NULL; while(p1 != NULL) { p2 = p1-&#62;link; while(p2 != NULL) { if(p1-&#62;data == p2-&#62;data) { break; } else { p2 = p2-&#62;link; } } if(p1-&#62;data==p2-&#62;data) { p1 = p1-&#62;link; }else { if(resultList == NULL) { resultList = p1; temp = p1; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=48&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>NODE *DupRem(NODE *head)<br />{<br /> NODE *p1 = head, *p2, *resultList = NULL, *temp = NULL;<br />  while(p1 != NULL)<br />  {<br />     p2 = p1-&gt;link;<br />     while(p2 != NULL)<br />     {<br />          if(p1-&gt;data == p2-&gt;data)<br />          {<br />               break;<br />          }</p>
<p>        else<br />          {<br />              p2 = p2-&gt;link;<br />          }<br />      }</p>
<p>      if(p1-&gt;data==p2-&gt;data)<br />     {<br />          p1 = p1-&gt;link;<br />     }else<br />     {<br />          if(resultList == NULL)<br />          {<br />                resultList = p1;<br />                temp = p1;<br />                p1 = p1-&gt;link;<br />          }else<br />          {<br />                temp-&gt;link = p1;<br />                temp = temp-&gt;link;<br />                p1 = p1-&gt;link;<br />           }<br />       }<br />   }<br />   return resultList;<br />}</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techbrother.wordpress.com/48/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techbrother.wordpress.com/48/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techbrother.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techbrother.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techbrother.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techbrother.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techbrother.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techbrother.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techbrother.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techbrother.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techbrother.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techbrother.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techbrother.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techbrother.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techbrother.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techbrother.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=48&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techbrother.wordpress.com/2008/02/02/remove-duplicates-from-a-linked-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/111bcc45723d4ad8a0f9a147d88d0741?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techbrother</media:title>
		</media:content>
	</item>
		<item>
		<title>Given two sorted linked lists, write a function to merge them into one?</title>
		<link>http://techbrother.wordpress.com/2008/02/02/given-two-sorted-linked-lists-write-a-function-to-merge-them-into-one/</link>
		<comments>http://techbrother.wordpress.com/2008/02/02/given-two-sorted-linked-lists-write-a-function-to-merge-them-into-one/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 17:51:00 +0000</pubDate>
		<dc:creator>techbrother</dc:creator>
				<category><![CDATA[Data Structures]]></category>
		<category><![CDATA[Interview Questions]]></category>

		<guid isPermaLink="false">http://techbrother.wordpress.com/2008/02/02/given-two-sorted-linked-lists-write-a-function-to-merge-them-into-one/</guid>
		<description><![CDATA[list* merge(LIST* list1, LIST* list2){ LIST *it1, *it2, *head; if(!list1) return list2; if(!list2) return list1; head = (list1-&#62;value value) ? list1 : list2; if(head == list1) { it1 = list1; it2 = list2; } else{ it1 = list2; it2 = list1; } while(it1-&#62;next &#38;&#38; it2){ if(it1-&#62;next-&#62;value &#62;= it2-&#62;value){ list *temp = it1-&#62;next; it1-&#62;next = it2; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=47&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;">list* merge(LIST* list1, LIST* list2){   </span><br /><span style="font-weight:bold;"> LIST *it1, *it2, *head;</span><br /><span style="font-weight:bold;">  if(!list1) return list2;</span><br /><span style="font-weight:bold;">  if(!list2) return list1;</span><br /><span style="font-weight:bold;">  head = (list1-&gt;value value) ? list1 : list2;</span><br /><span style="font-weight:bold;">  if(head == list1)</span><br /><span style="font-weight:bold;">  {                     it1 = list1; it2 = list2;</span><br /><span style="font-weight:bold;">  }</span><br /><span style="font-weight:bold;">  else{</span><br /><span style="font-weight:bold;">      it1 = list2;</span><br /><span style="font-weight:bold;">      it2 = list1;</span><br /><span style="font-weight:bold;">  }</span><br /><span style="font-weight:bold;"> while(it1-&gt;next &amp;&amp; it2){</span><br /><span style="font-weight:bold;">     if(it1-&gt;next-&gt;value &gt;= it2-&gt;value){</span><br /><span style="font-weight:bold;">         list *temp = it1-&gt;next;</span><br /><span style="font-weight:bold;">         it1-&gt;next = it2;</span><br /><span style="font-weight:bold;">        it2 = it2-&gt;next;</span><br /><span style="font-weight:bold;">        it1-&gt;next-&gt;next = temp;</span><br /><span style="font-weight:bold;">        }</span><br /><span style="font-weight:bold;">   else{</span><br /><span style="font-weight:bold;">      it1 = it1-&gt;next;</span><br /><span style="font-weight:bold;">      }</span><br /><span style="font-weight:bold;">   }</span>
<p style="font-weight:bold;" class="MsoNormal"><span style="font-family:Arial;">    if(it2)<br />      it1-&gt;next = it2;<br />   return head;<br />}</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techbrother.wordpress.com/47/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techbrother.wordpress.com/47/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techbrother.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techbrother.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techbrother.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techbrother.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techbrother.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techbrother.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techbrother.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techbrother.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techbrother.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techbrother.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techbrother.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techbrother.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techbrother.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techbrother.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=47&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techbrother.wordpress.com/2008/02/02/given-two-sorted-linked-lists-write-a-function-to-merge-them-into-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/111bcc45723d4ad8a0f9a147d88d0741?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techbrother</media:title>
		</media:content>
	</item>
		<item>
		<title>Given a single linked list write a function to swap each pair of nodes by manipulating with pointers (not values).?</title>
		<link>http://techbrother.wordpress.com/2008/02/02/given-a-single-linked-list-write-a-function-to-swap-each-pair-of-nodes-by-manipulating-with-pointers-not-values/</link>
		<comments>http://techbrother.wordpress.com/2008/02/02/given-a-single-linked-list-write-a-function-to-swap-each-pair-of-nodes-by-manipulating-with-pointers-not-values/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 17:44:00 +0000</pubDate>
		<dc:creator>techbrother</dc:creator>
				<category><![CDATA[Data Structures]]></category>
		<category><![CDATA[Interview Questions]]></category>

		<guid isPermaLink="false">http://techbrother.wordpress.com/2008/02/02/given-a-single-linked-list-write-a-function-to-swap-each-pair-of-nodes-by-manipulating-with-pointers-not-values/</guid>
		<description><![CDATA[Sol:Original list: head-&#62;1-&#62;2-&#62;3-&#62;4-&#62;5-&#62;NIL should be transformed to head-&#62;2-&#62;1-&#62;4-&#62;3-&#62;5-&#62; NIL int reverse_pairs(LLIST ** head){LLIST * temp = ULL;LLIST* current_pair = *head;LLIST** previouspair = head;while((current_pair != NULL) &#38;&#38; (current_pair-&#62;next != NULL)){temp = current_pair;current_pair = current_pair-&#62;next;temp-&#62;next = current_pair-&#62;next;current_pair-&#62;next = temp;*previouspair = current_pair;current_pair = temp-&#62;next;previouspair = &#38;temp-&#62;next;}return 0;}<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=46&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><b><span style="font-size:12pt;font-family:&quot;">Sol:<br />Original list: head-&gt;1-&gt;2-&gt;3-&gt;4-&gt;5-&gt;NIL should be transformed to head-&gt;2-&gt;1-&gt;4-&gt;3-&gt;5-&gt; NIL<br /></span></b>
<p style="font-weight:bold;" class="MsoNormal"><span style="font-family:Arial;">int reverse_pairs(LLIST ** head)<br />{<br />LLIST * temp = ULL;<br />LLIST* current_pair = *head;<br />LLIST** previouspair = head;<br />while((current_pair != NULL) &amp;&amp; (current_pair-&gt;next != NULL))<br />{<br />temp = current_pair;<br />current_pair = current_pair-&gt;next;<br />temp-&gt;next = current_pair-&gt;next;<br />current_pair-&gt;next = temp;<br />*previouspair = current_pair;<br />current_pair = temp-&gt;next;<br />previouspair = &amp;temp-&gt;next;<br />}<br />return 0;<br />}</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techbrother.wordpress.com/46/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techbrother.wordpress.com/46/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techbrother.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techbrother.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techbrother.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techbrother.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techbrother.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techbrother.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techbrother.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techbrother.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techbrother.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techbrother.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techbrother.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techbrother.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techbrother.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techbrother.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techbrother.wordpress.com&amp;blog=3889663&amp;post=46&amp;subd=techbrother&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techbrother.wordpress.com/2008/02/02/given-a-single-linked-list-write-a-function-to-swap-each-pair-of-nodes-by-manipulating-with-pointers-not-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/111bcc45723d4ad8a0f9a147d88d0741?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techbrother</media:title>
		</media:content>
	</item>
	</channel>
</rss>
