<?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>Overflow: Auto &#187; Logic</title>
	<atom:link href="http://www.tylerprete.com/category/logic/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tylerprete.com</link>
	<description>Straight from the mind of Tyler Prete</description>
	<lastBuildDate>Mon, 26 Oct 2009 06:07:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>I&#8217;d like to welcome you with a little logic puzzle</title>
		<link>http://www.tylerprete.com/2007/07/01/id-like-to-welcome-you-with-a-little-logic-puzzle/</link>
		<comments>http://www.tylerprete.com/2007/07/01/id-like-to-welcome-you-with-a-little-logic-puzzle/#comments</comments>
		<pubDate>Sun, 01 Jul 2007 21:03:55 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Logic]]></category>

		<guid isPermaLink="false">http://www.tylerprete.com/2007/07/01/id-like-to-welcome-you-with-a-little-logic-puzzle/</guid>
		<description><![CDATA[So I'm trying to finally get around to starting and maintaining a blog.  We'll see how it works out this time.  As a little welcome for ALL my many valued readers, I'll present a logic puzzle that has supposedly been used by Microsoft for programming interviews.

 You have a 3-quart bucket, a 5-quart bucket, and an infinite
"supply of water. How can you measure out exactly 4 quarts?]]></description>
			<content:encoded><![CDATA[<p></p><p>So I&#8217;m trying to finally get around to starting and maintaining a blog.  We&#8217;ll see how it works out this time.  As a little welcome for ALL my many valued readers, I&#8217;ll present a logic puzzle that has supposedly been used by Microsoft for programming interviews.</p>
<p><strong><strong>You have a 3-quart bucket, a 5-quart bucket, and an infinite<br />
&#8220;supply of water. How can you measure out exactly 4 quarts?</strong></strong><br />
<span id="more-3"></span></p>
<p>My solution is as follows:</p>
<p>First, place the 3-quart bucket upside-down inside the 5-quart bucket.  Fill up the 5-quart bucket, then remove the 3-quart bucket.  This will leave 2 quarts inside the 5-quart bucket.  Pour this into the 3-quart bucket.  So there are now 2 quarts in the 3 quart bucket, and none in the 5-quart bucket.  Place the 5-quart bucket over the 3-quart bucket so the bottom of the 5-quart bucket is covering the rim of the 3-quart bucket, then turn them over, so the 5-quart bucket is facing upwards.  Fill the outside of the 5-quart bucket,  then remove the 3-quart bucket.  The 2-quarts that were contained in the 3-quart bucket will mix with the 2-quarts surrounding the outside of the 3-quart bucket, and you&#8217;ll be left with 4 quarts in the 5-quart bucket.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerprete.com/2007/07/01/id-like-to-welcome-you-with-a-little-logic-puzzle/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

