<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for My Tech Interviews</title>
	
	<link>http://www.mytechinterviews.com</link>
	<description>PREPARE FOR A TECHNICAL INTERVIEW</description>
	<lastBuildDate>Sat, 18 Jun 2011 13:07:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/MyTechInterviewsComments" /><feedburner:info uri="mytechinterviewscomments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Challenge – Equal Probability between 1 and 7 by Doggie</title>
		<link>http://feedproxy.google.com/~r/MyTechInterviewsComments/~3/hsJeSUgkYFw/comment-page-2</link>
		<dc:creator>Doggie</dc:creator>
		<pubDate>Sat, 18 Jun 2011 13:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mytechinterviews.com/?p=848#comment-2222</guid>
		<description>@navz

You are right it generating all the numbers but there are NOT the same probability of occurring

Calculate the chance of each of the values happening and see.</description>
		<content:encoded><![CDATA[<p>@navz</p>
<p>You are right it generating all the numbers but there are NOT the same probability of occurring</p>
<p>Calculate the chance of each of the values happening and see.</p>
<img src="http://feeds.feedburner.com/~r/MyTechInterviewsComments/~4/hsJeSUgkYFw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mytechinterviews.com/equal-probability-between-1-and-7/comment-page-2#comment-2222</feedburner:origLink></item>
	<item>
		<title>Comment on How Strong is an Egg? by Doggie</title>
		<link>http://feedproxy.google.com/~r/MyTechInterviewsComments/~3/eCQfuNn0H3I/comment-page-2</link>
		<dc:creator>Doggie</dc:creator>
		<pubDate>Sat, 18 Jun 2011 12:55:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mytechinterviews.com/?p=252#comment-2221</guid>
		<description>@DPT Binary search won't work since you only have 2 eggs. What happens once the eggs break in the first two steps, you won't have any more eggs to try for the remaining 5 steps. :P</description>
		<content:encoded><![CDATA[<p>@DPT Binary search won&#8217;t work since you only have 2 eggs. What happens once the eggs break in the first two steps, you won&#8217;t have any more eggs to try for the remaining 5 steps. <img src='http://www.mytechinterviews.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/MyTechInterviewsComments/~4/eCQfuNn0H3I" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mytechinterviews.com/how-strong-is-your-egg/comment-page-2#comment-2221</feedburner:origLink></item>
	<item>
		<title>Comment on Clock Hands by Doggie</title>
		<link>http://feedproxy.google.com/~r/MyTechInterviewsComments/~3/rOVacqA4Jlc/comment-page-1</link>
		<dc:creator>Doggie</dc:creator>
		<pubDate>Sat, 18 Jun 2011 12:54:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mytechinterviews.com/?p=592#comment-2220</guid>
		<description>@John It is not 23. You have think of it as 2 sets of 12 hours. If it is 12 hours, you logic is fine. You will get 12 - 1 (since it will 12am and 12pm will be the same). Now if you extend it to 2 set of 12 hours. Then you get 11*2=22. If this doesn't convince you, try writing down all the matchs.</description>
		<content:encoded><![CDATA[<p>@John It is not 23. You have think of it as 2 sets of 12 hours. If it is 12 hours, you logic is fine. You will get 12 &#8211; 1 (since it will 12am and 12pm will be the same). Now if you extend it to 2 set of 12 hours. Then you get 11*2=22. If this doesn&#8217;t convince you, try writing down all the matchs.</p>
<img src="http://feeds.feedburner.com/~r/MyTechInterviewsComments/~4/rOVacqA4Jlc" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mytechinterviews.com/clock-hands/comment-page-1#comment-2220</feedburner:origLink></item>
	<item>
		<title>Comment on How Strong is an Egg? by Henry J Law</title>
		<link>http://feedproxy.google.com/~r/MyTechInterviewsComments/~3/RJV8ldsxXVc/comment-page-2</link>
		<dc:creator>Henry J Law</dc:creator>
		<pubDate>Sat, 18 Jun 2011 08:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mytechinterviews.com/?p=252#comment-2219</guid>
		<description>Actually, I get the same solution as the updated solution above.  But the actual should be 15, as you always needs one more try (actually breaking the egg) in order to confirm that's the highest floor you can go.  In another words, you can never determine the highest floor with a single try (except floor 100, which we won't start there).</description>
		<content:encoded><![CDATA[<p>Actually, I get the same solution as the updated solution above.  But the actual should be 15, as you always needs one more try (actually breaking the egg) in order to confirm that&#8217;s the highest floor you can go.  In another words, you can never determine the highest floor with a single try (except floor 100, which we won&#8217;t start there).</p>
<img src="http://feeds.feedburner.com/~r/MyTechInterviewsComments/~4/RJV8ldsxXVc" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mytechinterviews.com/how-strong-is-your-egg/comment-page-2#comment-2219</feedburner:origLink></item>
	<item>
		<title>Comment on How Strong is an Egg? by DPTs</title>
		<link>http://feedproxy.google.com/~r/MyTechInterviewsComments/~3/SgQrAq_qKgw/comment-page-2</link>
		<dc:creator>DPTs</dc:creator>
		<pubDate>Fri, 17 Jun 2011 16:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mytechinterviews.com/?p=252#comment-2218</guid>
		<description>the first thing that came to mind was binary search! :( that makes it 7</description>
		<content:encoded><![CDATA[<p>the first thing that came to mind was binary search! <img src='http://www.mytechinterviews.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  that makes it 7</p>
<img src="http://feeds.feedburner.com/~r/MyTechInterviewsComments/~4/SgQrAq_qKgw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mytechinterviews.com/how-strong-is-your-egg/comment-page-2#comment-2218</feedburner:origLink></item>
	<item>
		<title>Comment on Clock Hands by John</title>
		<link>http://feedproxy.google.com/~r/MyTechInterviewsComments/~3/WmxGsSulkvM/comment-page-1</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 16 Jun 2011 14:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.mytechinterviews.com/?p=592#comment-2217</guid>
		<description>The error in the answer of 23 is that you are accounting for 12 O clock three times in the day, instead of just twice.  In a true day, it should only be accounted for in the very first overlap at 12am.  The next time 12am (not 12pm) occurs, it is the next day, and thus does not count.</description>
		<content:encoded><![CDATA[<p>The error in the answer of 23 is that you are accounting for 12 O clock three times in the day, instead of just twice.  In a true day, it should only be accounted for in the very first overlap at 12am.  The next time 12am (not 12pm) occurs, it is the next day, and thus does not count.</p>
<img src="http://feeds.feedburner.com/~r/MyTechInterviewsComments/~4/WmxGsSulkvM" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mytechinterviews.com/clock-hands/comment-page-1#comment-2217</feedburner:origLink></item>
	<item>
		<title>Comment on How Old Are My Children? by kevin</title>
		<link>http://feedproxy.google.com/~r/MyTechInterviewsComments/~3/R_iQ9BmXp80/comment-page-1</link>
		<dc:creator>kevin</dc:creator>
		<pubDate>Thu, 16 Jun 2011 04:40:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mytechinterviews.com/?p=173#comment-2216</guid>
		<description>we cannot say that a person starts learning piano lessons only at the age of 8. It might also be 7 or 10 or even 12.

Are we supposed to read the mind of Bill...?? LOL.....</description>
		<content:encoded><![CDATA[<p>we cannot say that a person starts learning piano lessons only at the age of 8. It might also be 7 or 10 or even 12.</p>
<p>Are we supposed to read the mind of Bill&#8230;?? LOL&#8230;..</p>
<img src="http://feeds.feedburner.com/~r/MyTechInterviewsComments/~4/R_iQ9BmXp80" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mytechinterviews.com/how-old-are-my-children/comment-page-1#comment-2216</feedburner:origLink></item>
	<item>
		<title>Comment on How Old Are My Children? by kevin</title>
		<link>http://feedproxy.google.com/~r/MyTechInterviewsComments/~3/hKynDAQpGq4/comment-page-1</link>
		<dc:creator>kevin</dc:creator>
		<pubDate>Thu, 16 Jun 2011 04:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.mytechinterviews.com/?p=173#comment-2215</guid>
		<description>This is really a stupid question! Any one combination of the following is possible...

2, 4, 9 – sum(2, 4, 9) = 15
2, 3, 12 – sum(2, 3, 12) = 17
3, 4, 6 – sum(3, 4, 6) = 13
3, 3, 8 – sum(3, 3, 8 ) = 14
1, 8, 9 – sum(1,8,9) = 18
1, 6, 12 – sum(1, 6, 12) = 19

OK...we can eliminate this 5th answer since both the elder kids are nearly of the same age.... However, you cannot pick up anything as the correct answer since all of them suit.....

The question must be a wrong one.</description>
		<content:encoded><![CDATA[<p>This is really a stupid question! Any one combination of the following is possible&#8230;</p>
<p>2, 4, 9 – sum(2, 4, 9) = 15<br />
2, 3, 12 – sum(2, 3, 12) = 17<br />
3, 4, 6 – sum(3, 4, 6) = 13<br />
3, 3, 8 – sum(3, 3, 8 ) = 14<br />
1, 8, 9 – sum(1,8,9) = 18<br />
1, 6, 12 – sum(1, 6, 12) = 19</p>
<p>OK&#8230;we can eliminate this 5th answer since both the elder kids are nearly of the same age&#8230;. However, you cannot pick up anything as the correct answer since all of them suit&#8230;..</p>
<p>The question must be a wrong one.</p>
<img src="http://feeds.feedburner.com/~r/MyTechInterviewsComments/~4/hKynDAQpGq4" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mytechinterviews.com/how-old-are-my-children/comment-page-1#comment-2215</feedburner:origLink></item>
	<item>
		<title>Comment on Boys and Girls by kevin</title>
		<link>http://feedproxy.google.com/~r/MyTechInterviewsComments/~3/Wog9Gyy9hmI/comment-page-1</link>
		<dc:creator>kevin</dc:creator>
		<pubDate>Thu, 16 Jun 2011 03:46:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.mytechinterviews.com/?p=215#comment-2214</guid>
		<description>I totally agree with JEO!!! Why do you go for mathematical calculations for simple questions?

The probably must be 2(boys) : 1(girls)........
consider 2 families.. Since probably of getting a boy and a girl is equal, we can say that one family gets a boy and the other gets a girl. But, since the second family has only a girl, it gets another boy. 

Now there are TWO BOYS AND ONE GIRL. Hence the probability must be 2:1 and  not 1:1.

Any objections to this?</description>
		<content:encoded><![CDATA[<p>I totally agree with JEO!!! Why do you go for mathematical calculations for simple questions?</p>
<p>The probably must be 2(boys) : 1(girls)&#8230;&#8230;..<br />
consider 2 families.. Since probably of getting a boy and a girl is equal, we can say that one family gets a boy and the other gets a girl. But, since the second family has only a girl, it gets another boy. </p>
<p>Now there are TWO BOYS AND ONE GIRL. Hence the probability must be 2:1 and  not 1:1.</p>
<p>Any objections to this?</p>
<img src="http://feeds.feedburner.com/~r/MyTechInterviewsComments/~4/Wog9Gyy9hmI" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mytechinterviews.com/boys-and-girls/comment-page-1#comment-2214</feedburner:origLink></item>
	<item>
		<title>Comment on How Strong is an Egg? by Zubair Dhalla</title>
		<link>http://feedproxy.google.com/~r/MyTechInterviewsComments/~3/885mNVdCi7o/comment-page-2</link>
		<dc:creator>Zubair Dhalla</dc:creator>
		<pubDate>Wed, 15 Jun 2011 19:14:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mytechinterviews.com/?p=252#comment-2213</guid>
		<description>Fools! The answer is 2.
You go to a random floor, number x, and drop the first egg. It survives. You go to floor x+1 and it breaks. Floor x is the maximum height. This is the absolute minimum and relies on pure luck.

Plus you only have 2 eggs.</description>
		<content:encoded><![CDATA[<p>Fools! The answer is 2.<br />
You go to a random floor, number x, and drop the first egg. It survives. You go to floor x+1 and it breaks. Floor x is the maximum height. This is the absolute minimum and relies on pure luck.</p>
<p>Plus you only have 2 eggs.</p>
<img src="http://feeds.feedburner.com/~r/MyTechInterviewsComments/~4/885mNVdCi7o" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mytechinterviews.com/how-strong-is-your-egg/comment-page-2#comment-2213</feedburner:origLink></item>
</channel>
</rss>

