<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Shawn's Thoughts - Latest Comments in My Microsoft Interview Questions</title><link>http://shawnmor.disqus.com/</link><description></description><language>en</language><lastBuildDate>Tue, 13 Sep 2005 22:02:59 -0000</lastBuildDate><item><title>Re: My Microsoft Interview Questions</title><link>http://blog.shawnlmorrissey.com/microsoft/my-microsoft-interview-questions/#comment-1171097</link><description>You’re in a boat with a rock, on a fresh-water lake.  You throw the rock into the lake.  With respect to the land, what happens to the level of the water in the lake – goes up, goes down, stays the same? &lt;br&gt;There are several test cases, the boat is mired in muck before/after release(after), boat is mired in muck before(before) not after release, or the boat is floating(float) and the rock floats(floats), the rock sinks(sinks) or the rock gets mired in muck(muck).&lt;br&gt;So you have:&lt;br&gt;after/floats water level rises because more water is displaced.&lt;br&gt;after/sinks water level rises because more water is displaced.&lt;br&gt;after/muck  water level rises because more water is displaced.&lt;br&gt;before/floats  water level rises because more water is displaced.&lt;br&gt;before/sinks water level lowers because less water is displaced.&lt;br&gt;before/muck Indeterminate conclusion, need more information about the state of water displacement.&lt;br&gt;float/floats water level stays the same because the same amount of water is displaced.&lt;br&gt;float/sinks water level lowers because less water is displaced.&lt;br&gt;float/muck Indeterminate conclusion, need more information about the state of water displacement.&lt;br&gt;&lt;br&gt;Based on an equal probability of all test cases, most likely the water will rise.  (I need a $2.3 million grant from the government to finish studying this problem.:)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ken Lee</dc:creator><pubDate>Tue, 13 Sep 2005 22:02:59 -0000</pubDate></item></channel></rss>