﻿<?phpxml 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/"
>
<channel>
<title>Common Interview Questions / jane / All</title>
<link>http://commoninterview.com</link>
<description>The source for Job Interview Questions and Job Search Networking</description>
<pubDate>Mon, 15 Feb 2010 22:26:53 -0700</pubDate>
<language>en</language>
<item>
<title><![CDATA[C++ find greatest common divisor]]></title>
<link>http://commoninterview.com/Programming_Interview_Questions/c-find-greatest-common-divisor/</link>
<comments>http://commoninterview.com/Programming_Interview_Questions/c-find-greatest-common-divisor/</comments>
<pubDate>Mon, 15 Feb 2010 23:26:53 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Programming Interview Questions</category>
<guid>http://commoninterview.com/Programming_Interview_Questions/c-find-greatest-common-divisor/</guid>
<description><![CDATA[The greatest common divisor is the largest positive integer that divides the numbers without a remainder.<br /><br />Write a function which would find gcd.<br/><br/>2 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[Find-poisonous-bottle puzzle]]></title>
<link>http://commoninterview.com/interview_puzzles/find-poisonous-bottle-puzzle/</link>
<comments>http://commoninterview.com/interview_puzzles/find-poisonous-bottle-puzzle/</comments>
<pubDate>Wed, 20 Jan 2010 23:11:24 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Interview Puzzles</category>
<guid>http://commoninterview.com/interview_puzzles/find-poisonous-bottle-puzzle/</guid>
<description><![CDATA[There is a palace, a King, and a Queen. <br />An event is scheduled after 35 days in the palace. <br /><br />The King orders 1000 bottles of wine for the event. <br /><br />The Queen wants to kill the King.<br /><br />Queen sends an assassin to mix poison in ONE of the 1000 bottles.<br />The assassin does the same.<br /><br />The effect of the poison is such that the person who took it, will die after 7 days.<br /><br />Also, the King has 10 prisoners on whom he can use the wine to test, whether its poisonous.<br /><br />Now, somehow the King happened to know about the conspiracy, and want to know about the poisonous bottle.<br /><br />How the King is going to find out the poisonous bottle within 35 days. <br/><br/>4 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[How would you use jQuery in ASP.NET Pages?]]></title>
<link>http://commoninterview.com/Programming_Interview_Questions/how-would-you-use-jquery-in-asp-net-pages/</link>
<comments>http://commoninterview.com/Programming_Interview_Questions/how-would-you-use-jquery-in-asp-net-pages/</comments>
<pubDate>Mon, 18 Jan 2010 23:31:24 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Programming Interview Questions</category>
<guid>http://commoninterview.com/Programming_Interview_Questions/how-would-you-use-jquery-in-asp-net-pages/</guid>
<description><![CDATA[Answer and things to point out:<br /><br />1.JQuery is officially endorsed by Microsoft ASP.NET team and ships with Microsoft plans to ship the JQuery JavaScript library with its Visual Studio developer tool suite.<br /><br />2.JQuery is open source and can be downloaded freely from jQuery.com<br /><br />3. jQuery is JavaScript library and can be used by simple referece of js files on your ASP.NET pages<br /><br />4. The best place to do so is master page...<br /><br /> <br/><br/>3 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[What is JQuery?]]></title>
<link>http://commoninterview.com/technical_questions/what-is-jquery-1/</link>
<comments>http://commoninterview.com/technical_questions/what-is-jquery-1/</comments>
<pubDate>Mon, 18 Jan 2010 23:19:35 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Technical Questions</category>
<guid>http://commoninterview.com/technical_questions/what-is-jquery-1/</guid>
<description><![CDATA[Answer:<br /><br />jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.<br /><br />Benefits of JQuery:<br /><br />1. Lightweight Footprint <br />   About 23KB in size (Minified and Gzipped)<br /><br />2.  CSS3 Compliant <br />    Supports CSS 1-3 selectors and more!<br /><br /><br />3. Cross-browser <br />   IE 6.0+, FF 2+, Safari 3.0+, Opera 9.0+, Chrome<br /><br/><br/>4 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[Equation to produce 24 exactly from given numbers, no integer math]]></title>
<link>http://commoninterview.com/interview_puzzles/equation-to-produce-24-exactly-from-given-numbers-no-integer-math/</link>
<comments>http://commoninterview.com/interview_puzzles/equation-to-produce-24-exactly-from-given-numbers-no-integer-math/</comments>
<pubDate>Mon, 18 Jan 2010 09:02:58 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Interview Puzzles</category>
<guid>http://commoninterview.com/interview_puzzles/equation-to-produce-24-exactly-from-given-numbers-no-integer-math/</guid>
<description><![CDATA[Using the integers 1, 3, 4 and 6, and using only the four basic arithmetic operators + - * / (add, subtract, multiply, divide), create an equation that equals 24. Each number is used only once. The operators can be used as many times as you want.<br /><br/><br/>4 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[Functional programming interview question]]></title>
<link>http://commoninterview.com/Programming_Interview_Questions/functional-programming-interview-question/</link>
<comments>http://commoninterview.com/Programming_Interview_Questions/functional-programming-interview-question/</comments>
<pubDate>Sat, 16 Jan 2010 15:48:27 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Programming Interview Questions</category>
<guid>http://commoninterview.com/Programming_Interview_Questions/functional-programming-interview-question/</guid>
<description><![CDATA[The file input.txt contains lists of words, one per line, in two categories, NUMBERS and ANIMALS. A line containing just a category name indicates that the words on the following lines, until the next category name, belong to that category. Read this file as input (on stdin) and print out a) a sorted list of the unique animal names encountered, and b) a list of the number words encountered, along with the count of each. Feel free to chose your output format. <br /><br />The cool thing, is that the solution is in F# !<br/><br/>2 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[Classical fake coin problem: 8 coins find one fake]]></title>
<link>http://commoninterview.com/interview_puzzles/classical-fake-coin-problem-8-coins-find-one-fake/</link>
<comments>http://commoninterview.com/interview_puzzles/classical-fake-coin-problem-8-coins-find-one-fake/</comments>
<pubDate>Thu, 14 Jan 2010 12:45:42 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Interview Puzzles</category>
<guid>http://commoninterview.com/interview_puzzles/classical-fake-coin-problem-8-coins-find-one-fake/</guid>
<description><![CDATA[Imagine you have eight coins, seven of which weigh the same and one that doesn't (it's heavier). You need to use a pair of scales to find out what's the odd one out.<br/><br/>4 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[How much of your favorite brand of soda is consumed in this state?]]></title>
<link>http://commoninterview.com/Programming_Interview_Questions/how-much-of-your-favorite-brand-of-soda-is-consumed-in-this-state/</link>
<comments>http://commoninterview.com/Programming_Interview_Questions/how-much-of-your-favorite-brand-of-soda-is-consumed-in-this-state/</comments>
<pubDate>Wed, 13 Jan 2010 23:21:29 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Programming Interview Questions</category>
<guid>http://commoninterview.com/Programming_Interview_Questions/how-much-of-your-favorite-brand-of-soda-is-consumed-in-this-state/</guid>
<description><![CDATA[Classical Fermi question. The solution is number of approximation steps:<br /><br />1. I live in WA, with approx population of 7M people<br />(So, the answer should be less than 7M)<br /><br />2. I like Ginger Ale<br /><br />3. Let's estimate that each active adult (from 18 to 65) drinks 2 cans of soda per day (someone doesn't drink soda, someone drinks a lot)<br /><br />4. Considering normal age distribution it should be about 4M active adults in WA<br /><br />5. Ginger Ale is not the most popular drink, probably the fourth after Coke,Pepsi and Iced Tea<br /><br />Considering Coke and Pepsi takes the majority of the market, we can estimate the distribution as following:<br /><br />Coke: 35%<br />Pepsi: 35%<br />Iced Tea: 10%<br />Ginger Ale: 10%<br />All Other: 10%<br /><br />So, the answer is about 10% of 4M = 400K cans per day.<br /><br /><br /><br /> <br/><br/>4 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[Find if two given rectangles are overlapping or not]]></title>
<link>http://commoninterview.com/Programming_Interview_Questions/find-if-two-given-rectangles-are-overlapping-or-not-1/</link>
<comments>http://commoninterview.com/Programming_Interview_Questions/find-if-two-given-rectangles-are-overlapping-or-not-1/</comments>
<pubDate>Tue, 12 Jan 2010 23:29:40 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Programming Interview Questions</category>
<guid>http://commoninterview.com/Programming_Interview_Questions/find-if-two-given-rectangles-are-overlapping-or-not-1/</guid>
<description><![CDATA[There are two rectangles defined by corner points LowerRight and UpperLeft. The task is to write a function which would check if two given rectangles overlap or not. (Solution in Java).<br /><br />Was asked this question for Microsoft v- interview SDET position. Jan 2010.<br /><br /><br />Example:<br /><br /><br/><br/>6 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[Are you a citizen of the United States? ]]></title>
<link>http://commoninterview.com/Illegal_Interview_Questions/are-you-a-citizen-of-the-united-states-/</link>
<comments>http://commoninterview.com/Illegal_Interview_Questions/are-you-a-citizen-of-the-united-states-/</comments>
<pubDate>Thu, 07 Jan 2010 01:42:01 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Illegal Interview Questions</category>
<guid>http://commoninterview.com/Illegal_Interview_Questions/are-you-a-citizen-of-the-united-states-/</guid>
<description><![CDATA[Questions about citizenship are illegal. <br /><br />However if you asked this question the interviewer probably just wants to know if you are eligible to work in the US. <br /><br />So, your answer might be: "I am eligible to work in the US for any employer" or "I am would need visa assistance/sponsorship before I can start"<br/><br/>1 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[Do you remember the 1940 election?]]></title>
<link>http://commoninterview.com/Illegal_Interview_Questions/do-you-remember-the-1940-election/</link>
<comments>http://commoninterview.com/Illegal_Interview_Questions/do-you-remember-the-1940-election/</comments>
<pubDate>Thu, 07 Jan 2010 00:35:33 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Illegal Interview Questions</category>
<guid>http://commoninterview.com/Illegal_Interview_Questions/do-you-remember-the-1940-election/</guid>
<description><![CDATA[Any question which tends to identify applicants between 40-64 years of age is illegal.<br/><br/>1 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[What are your plans regarding having children in the near future?]]></title>
<link>http://commoninterview.com/Illegal_Interview_Questions/what-are-your-plans-regarding-having-children-in-the-near-future/</link>
<comments>http://commoninterview.com/Illegal_Interview_Questions/what-are-your-plans-regarding-having-children-in-the-near-future/</comments>
<pubDate>Thu, 07 Jan 2010 00:02:03 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Illegal Interview Questions</category>
<guid>http://commoninterview.com/Illegal_Interview_Questions/what-are-your-plans-regarding-having-children-in-the-near-future/</guid>
<description><![CDATA[There is no legal question that can be asked during interview regarding the gender/sex subject.<br/><br/>1 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[What religious holidays do you observe?]]></title>
<link>http://commoninterview.com/Illegal_Interview_Questions/what-religious-holidays-do-you-observe/</link>
<comments>http://commoninterview.com/Illegal_Interview_Questions/what-religious-holidays-do-you-observe/</comments>
<pubDate>Wed, 06 Jan 2010 23:50:26 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Illegal Interview Questions</category>
<guid>http://commoninterview.com/Illegal_Interview_Questions/what-religious-holidays-do-you-observe/</guid>
<description><![CDATA[There is no legal question that can be asked regarding this subject.<br /><br />Suprisingly I am asked this question in slightly different forms once in a while.<br /><br />The best answer is to answer it by saying that you know about company approved holidays and that everything else would definetly count as part of your vacation.<br/><br/>1 Vote(s) ]]></description>
</item>

<item>
<title><![CDATA[What language is spoken in your home?]]></title>
<link>http://commoninterview.com/Illegal_Interview_Questions/what-language-is-spoken-in-your-home-1/</link>
<comments>http://commoninterview.com/Illegal_Interview_Questions/what-language-is-spoken-in-your-home-1/</comments>
<pubDate>Wed, 06 Jan 2010 23:47:24 -0700</pubDate>
<dc:creator>jane</dc:creator>
<category>Illegal Interview Questions</category>
<guid>http://commoninterview.com/Illegal_Interview_Questions/what-language-is-spoken-in-your-home-1/</guid>
<description><![CDATA[There is no legal question that can be asked regarding this subject. Even then you don't mind sharing this information, you should be careful then answering as it might put interviewer into awkward situation with HR. <br/><br/>1 Vote(s) ]]></description>
</item>

</channel>
</rss>

