<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2093815891671924132</id><updated>2011-07-21T14:43:33.173+05:30</updated><category term='bit twiddling'/><category term='series'/><category term='numbers'/><category term='words'/><category term='logic'/><category term='data stuctures'/><category term='picture clues'/><category term='programming'/><title type='text'>The Riddle Spot</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>62</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-4336616927910829563</id><published>2011-07-19T14:48:00.008+05:30</published><updated>2011-07-21T14:43:33.189+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>GameBoard</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/-t_AdjWST0xU/TiVNJnuAxYI/AAAAAAAAC5o/CjIkMU6I_OM/s1600/GameBoard.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 290px; height: 320px;" src="http://2.bp.blogspot.com/-t_AdjWST0xU/TiVNJnuAxYI/AAAAAAAAC5o/CjIkMU6I_OM/s320/GameBoard.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5630991736772806018" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family:arial;"&gt;A simple "Conway's Game of Life" Board using a trivial over-the-weekend framework. &lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family:arial;"&gt;Works at-least...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family:arial;"&gt;&lt;a href="https://sites.google.com/site/tumbleddowntoearth/home/downloads/GameBoard.zip"&gt;Download&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-4336616927910829563?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/4336616927910829563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=4336616927910829563' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/4336616927910829563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/4336616927910829563'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2011/07/gameboard.html' title='GameBoard'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-t_AdjWST0xU/TiVNJnuAxYI/AAAAAAAAC5o/CjIkMU6I_OM/s72-c/GameBoard.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-1898190188133960446</id><published>2010-09-21T19:48:00.002+05:30</published><updated>2010-09-21T19:54:24.267+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>RECEME - Remote Command Execution through eMail Exchange</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.codeproject.com/KB/applications/receme/screenshot.GIF"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 298px; height: 202px;" src="http://www.codeproject.com/KB/applications/receme/screenshot.GIF" border="0" alt="" /&gt;&lt;/a&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;&lt;b&gt;A service concept is implemented here for seamless &amp;amp; connectionless computation from anywhere to anywhere&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;b&gt;RE&lt;/b&gt;mote &lt;b&gt;C&lt;/b&gt;ommand &lt;b&gt;E&lt;/b&gt;xecution through e&lt;b&gt;M&lt;/b&gt;ail &lt;b&gt;E&lt;/b&gt;xchange or &lt;b&gt;RECEME &lt;/b&gt;successfully attempts to solve the problem of remote code execution. The proposed solution executes any .Net runnable code on a computer(where the service application is up and running) in the form of a 'ICommand'.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;The commands can be fired from any other location by sending an email/twit/(or any other mode in principle eg sms/phone/etc) to the connected communication client (email-box in the current implementation).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.codeproject.com/KB/applications/receme.aspx" target="_blank"&gt;more at codeproject.com...&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-1898190188133960446?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/1898190188133960446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=1898190188133960446' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1898190188133960446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1898190188133960446'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2010/09/receme-remote-command-execution-through.html' title='RECEME - Remote Command Execution through eMail Exchange'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-5427511631942186171</id><published>2009-12-13T10:36:00.004+05:30</published><updated>2009-12-13T10:39:18.261+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>#60</title><content type='html'>&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;b&gt;WinHooksDemo&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Capture mouse click/move points and a small area around it as image.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Mmz9N-ENkXw/SyR2gJYXFJI/AAAAAAAACfg/Mu2I8-nc15M/s1600-h/winhook.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 300px; height: 320px;" src="http://2.bp.blogspot.com/_Mmz9N-ENkXw/SyR2gJYXFJI/AAAAAAAACfg/Mu2I8-nc15M/s320/winhook.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5414582946652165266" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;a href="http://arnab.i.googlepages.com/WinHooksDemo.zip"&gt;Download&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-5427511631942186171?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/5427511631942186171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=5427511631942186171' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/5427511631942186171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/5427511631942186171'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2009/12/60.html' title='#60'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Mmz9N-ENkXw/SyR2gJYXFJI/AAAAAAAACfg/Mu2I8-nc15M/s72-c/winhook.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-2519614536456282441</id><published>2009-12-13T10:26:00.005+05:30</published><updated>2009-12-13T10:33:55.238+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>#59</title><content type='html'>&lt;b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;DicomPuppy&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;br /&gt;A short Dicom Searcher/Sorter/Reporting tool helps to find dicom files from a dicom database of huge size. Files with specific attributes can be found and sorted in a notepad/excel, which can then be used to look for exact values.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Mmz9N-ENkXw/SyR1JBJNKiI/AAAAAAAACfY/ffXesmwMo9I/s1600-h/DicomPuppy.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 225px;" src="http://4.bp.blogspot.com/_Mmz9N-ENkXw/SyR1JBJNKiI/AAAAAAAACfY/ffXesmwMo9I/s320/DicomPuppy.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5414581449792498210" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;a href="http://arnab.i.googlepages.com/DicomPuppy.zip"&gt;Download&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-2519614536456282441?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/2519614536456282441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=2519614536456282441' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/2519614536456282441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/2519614536456282441'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2009/12/59.html' title='#59'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Mmz9N-ENkXw/SyR1JBJNKiI/AAAAAAAACfY/ffXesmwMo9I/s72-c/DicomPuppy.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-6874211887312733549</id><published>2009-12-12T17:33:00.004+05:30</published><updated>2009-12-13T10:26:21.051+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>#58</title><content type='html'>PROBLEM: Game of life&lt;br /&gt;&lt;br /&gt;The universe of the Game of Life is an infinite two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, live or dead. Every cell interacts with its eight neighbours, which are the cells that are directly horizontally, vertically, or diagonally adjacent. At each step in time, the following transitions occur:&lt;br /&gt;&lt;br /&gt; 1. Any live cell with fewer than two live neighbours dies, as if by loneliness.&lt;br /&gt; 2. Any live cell with more than three live neighbours dies, as if by overcrowding.&lt;br /&gt; 3. Any live cell with two or three live neighbours lives, unchanged, to the next generation.&lt;br /&gt; 4. Any dead cell with exactly three live neighbours comes to life.&lt;br /&gt; 5. Any dead cell with age &gt; 3 dies (additional rule). Every generation creates an age for the cells&lt;br /&gt;&lt;br /&gt;The initial pattern constitutes the 'seed' of the system. The first generation is created by applying the above rules simultaneously to every cell in the seed — births and deaths happen simultaneously, and the discrete moment at which this happens is sometimes called a tick. (In other words, each generation is a pure function of the one before.) The rules continue to be applied repeatedly to create further generations.&lt;br /&gt;&lt;br /&gt;Problem.&lt;br /&gt;The inputs below represent the cells in the universe as X or - . X is a alive cell. - is a dead cell or no cell . The below inputs provide the provide pattern or initial cells in the universe . The output is the state of the system in the next tick (one run of the application of all the rules) , represented in the same format.&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER58')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt; &lt;ul class="texthidden" id="ANSWER58"&gt;&lt;span style="font-family:courier new;"&gt;&lt;a href="http://arnab.i.googlepages.com/GameOfLife.zip" target="_blank"&gt;Source code [ZIP] (C#)&lt;/a&gt; &lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-6874211887312733549?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/6874211887312733549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=6874211887312733549' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6874211887312733549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6874211887312733549'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2009/12/game-of-life.html' title='#58'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7542997638964287947</id><published>2008-09-09T22:54:00.004+05:30</published><updated>2008-09-09T23:09:10.910+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>#57</title><content type='html'>&lt;span style="font-weight: bold;"&gt;ScreenShot&lt;/span&gt;&lt;br /&gt;with mouse cursor (shape and position)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://lh5.ggpht.com/arnab.i/SMa0L3OnQMI/AAAAAAAABtk/Ucq6P4xslIY/s800/screenshot.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 525px; height: 301px;" src="http://lh5.ggpht.com/arnab.i/SMa0L3OnQMI/AAAAAAAABtk/Ucq6P4xslIY/s800/screenshot.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Windows default screenshot generator (using print-screen) does not capture the mouse position and shape. This is a nifty tool to capture the mouse shape and position using basic win32.&lt;br /&gt;&lt;br /&gt;Keep pressing F7 and the images are dumped in C:\&lt;br /&gt;&lt;br /&gt;---------- Source available on request&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER57')" href="javascript:void(0);"&gt;Download&lt;/a&gt; &lt;ul class="texthidden" id="ANSWER57"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;a href="http://arnab.i.googlepages.com/ScreenShot.zip" target="_blank"&gt;Binaries&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7542997638964287947?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7542997638964287947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7542997638964287947' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7542997638964287947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7542997638964287947'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2008/09/57.html' title='#57'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/arnab.i/SMa0L3OnQMI/AAAAAAAABtk/Ucq6P4xslIY/s72-c/screenshot.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-1578768611056888691</id><published>2008-03-07T18:49:00.008+05:30</published><updated>2009-12-12T17:39:03.714+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>#56</title><content type='html'>&lt;span style="font-family:verdana;"&gt;PROBLEM : MARS ROVERS&lt;br /&gt;&lt;br /&gt;A squad of robotic rovers are to be landed by NASA on a plateau on Mars.This plateau, which is curiously rectangular, must be navigated by therovers so that their on-board cameras can get a complete view of thesurrounding terrain to send back to Earth.&lt;br /&gt;&lt;br /&gt;A rover's position and location is represented by a combination of x and yco-ordinates and a letter representing one of the four cardinal compasspoints. The plateau is divided up into a grid to simplify navigation. Anexample position might be 0, 0, N, which means the rover is in the bottomleft corner and facing North.&lt;br /&gt;&lt;br /&gt;In order to control a rover, NASA sends a simple string of letters. Thepossible letters are 'L', 'R' and 'M'. 'L' and 'R' makes the rover spin 90degrees left or right respectively, without moving from its current spot.'M' means move forward one grid point, and maintain the same heading.&lt;br /&gt;&lt;br /&gt;Assume that the square directly North from (x, y) is (x, y+1).&lt;br /&gt;&lt;br /&gt;INPUT:&lt;br /&gt;The first line of input is the upper-right coordinates of the plateau, thelower-left coordinates are assumed to be 0,0.&lt;br /&gt;&lt;br /&gt;The rest of the input is information pertaining to the rovers that havebeen deployed. Each rover has two lines of input. The first line gives therover's position, and the second line is a series of instructions tellingthe rover how to explore the plateau.&lt;br /&gt;&lt;br /&gt;The position is made up of two integers and a letter separated by spaces,corresponding to the x and y co-ordinates and the rover's orientation.&lt;br /&gt;&lt;br /&gt;Each rover will be finished sequentially, which means that the second roverwon't start to move until the first one has finished moving.&lt;br /&gt;&lt;br /&gt;OUTPUT&lt;br /&gt;The output for each rover should be its final co-ordinates and heading.&lt;br /&gt;&lt;br /&gt;INPUT AND OUTPUT&lt;br /&gt;Test Input:&lt;br /&gt;5 5&lt;br /&gt;1 2 N&lt;br /&gt;LMLMLMLMM&lt;br /&gt;3 3 E&lt;br /&gt;MMRMMRMRRM&lt;br /&gt;&lt;br /&gt;Expected Output:&lt;br /&gt;1 3 N&lt;br /&gt;5 1 E&lt;br /&gt;========== &lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER56')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt; &lt;ul class="texthidden" id="ANSWER56"&gt;&lt;span style="font-family:courier new;"&gt;&lt;a href="http://arnab.i.googlepages.com/MarsRover.zip" target="_blank"&gt;Source code [ZIP] (C#)&lt;/a&gt; &lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-1578768611056888691?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/1578768611056888691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=1578768611056888691' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1578768611056888691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1578768611056888691'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2008/03/56.html' title='#56'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-5074880926451364019</id><published>2007-09-21T17:48:00.000+05:30</published><updated>2007-09-21T18:01:06.902+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>#55</title><content type='html'>&lt;span style="font-family:verdana;"&gt;In the mathematical discipline of linear algebra, the Strassen algorithm, named after Volker Strassen, is an algorithm used for matrix multiplication. It is asymptotically faster than the standard matrix multiplication algorithm, but slower than the fastest known algorithm, and is useful in practice for large matrices.&lt;br /&gt;&lt;br /&gt;Volker Strassen published the Strassen algorithm in 1969. Although his algorithm is only slightly faster than the standard algorithm for matrix multiplication, he was the first to point out that Gaussian elimination is not optimal. His paper started the search for even faster algorithms such as the Winograd algorithm in 1980 (which uses 7 binary multiplications, but 15 binary additions instead of 18 with the Strassen algorithm), and the more complex Coppersmith–Winograd algorithm published in 1987.&lt;br /&gt;&lt;br /&gt;http://en.wikipedia.org/wiki/Strassen_algorithm&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER55')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER55"&gt;&lt;span style="font-family:courier new;"&gt;&lt;a href="http://www.geocities.com/sando4all/blogdownloads/algo.txt" target="_blank"&gt;http://www.geocities.com/sando4all/blogdownloads/algo.txt&lt;/a&gt;&lt;br /&gt;&lt;/ul&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-5074880926451364019?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/5074880926451364019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=5074880926451364019' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/5074880926451364019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/5074880926451364019'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/09/55.html' title='#55'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-148439326233910605</id><published>2007-05-22T16:41:00.000+05:30</published><updated>2007-05-24T15:44:11.334+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#54</title><content type='html'>&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://dodownload.filefront.com/3899727//040ee14f96d4b7c32d79fc6746156d57913d632bac7de9df14b42a34886c9d3f3a97e06c498567ef"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://lh3.google.com/image/arnab.i/RlUaxuVD9eI/AAAAAAAAAUY/NvFjzfGrecg/s800/solvethis.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://dodownload.filefront.com/3899727//040ee14f96d4b7c32d79fc6746156d57913d632bac7de9df14b42a34886c9d3f3a97e06c498567ef"&gt;&lt;span style="font-family:courier new;"&gt;http://dodownload.filefront.com/3899727//040ee14f96d4b7c32d79fc6746156d57913d632bac7de9df14b42a34886c9d3f3a97e06c498567ef&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;This is a car maze puzzle ... &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;(you need powerpoint or a pps reader to play it)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER54')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER54"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;RIGHT -&gt; RIGHT -&gt; DOWN -&gt; UP -&gt; UP -&gt; DOWN -&gt; RIGHT -&gt; DOWN -&gt; LEFT -&gt; LEFT -&gt; LEFT -&gt; RIGHT -&gt; UP -&gt; LEFT -&gt; DOWN -&gt; DOWN -&gt; RIGHT -&gt; RIGHT -&gt; RIGHT -&gt; RIGHT&lt;br /&gt;&lt;br /&gt;&lt;em&gt;The directions are relative to the player and not relative to the car.&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-148439326233910605?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/148439326233910605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=148439326233910605' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/148439326233910605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/148439326233910605'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/05/54.html' title='#54'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-2462259112004099031</id><published>2007-05-22T08:49:00.000+05:30</published><updated>2007-05-22T08:56:25.622+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#53</title><content type='html'>&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();}   catch(e) {}" href="http://lh3.google.com/image/arnab.i/Rk1kFuVD8iI/AAAAAAAAAM0/tYHV896ymf8/s800/lateral-thinking-1.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://lh3.google.com/image/arnab.i/Rk1kFuVD8iI/AAAAAAAAAM0/tYHV896ymf8/s800/lateral-thinking-1.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER53a')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER53a"&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();}   catch(e) {}" href="http://lh3.google.com/image/arnab.i/Rk1kFuVD8mI/AAAAAAAAANU/OxWxJkNrNU0/s800/lateral-thinking-ans-1.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://lh3.google.com/image/arnab.i/Rk1kFuVD8mI/AAAAAAAAANU/OxWxJkNrNU0/s800/lateral-thinking-ans-1.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();}   catch(e) {}" href="http://lh3.google.com/image/arnab.i/Rk1kFuVD8jI/AAAAAAAAAM8/FJEpbzJJbb8/s800/lateral-thinking-2.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://lh3.google.com/image/arnab.i/Rk1kFuVD8jI/AAAAAAAAAM8/FJEpbzJJbb8/s800/lateral-thinking-2.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER53b')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER53b"&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();}   catch(e) {}" href="http://lh4.google.com/image/arnab.i/Rk1kO-VD8nI/AAAAAAAAANc/2yKvIOt23oc/s800/lateral-thinking-ans-2.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://lh4.google.com/image/arnab.i/Rk1kO-VD8nI/AAAAAAAAANc/2yKvIOt23oc/s800/lateral-thinking-ans-2.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();}   catch(e) {}" href="http://lh3.google.com/image/arnab.i/Rk1kFuVD8kI/AAAAAAAAANE/zuC0DkA80IA/s800/lateral-thinking-3.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://lh3.google.com/image/arnab.i/Rk1kFuVD8kI/AAAAAAAAANE/zuC0DkA80IA/s800/lateral-thinking-3.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER53c')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER53c"&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();}   catch(e) {}" href="http://lh4.google.com/image/arnab.i/Rk1kO-VD8oI/AAAAAAAAANk/ETOzSoL5rss/s800/lateral-thinking-ans-3.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://lh4.google.com/image/arnab.i/Rk1kO-VD8oI/AAAAAAAAANk/ETOzSoL5rss/s800/lateral-thinking-ans-3.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();}   catch(e) {}" href="http://lh3.google.com/image/arnab.i/Rk1kFuVD8lI/AAAAAAAAANM/-Z-LKOOy2qE/s800/lateral-thinking-4.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://lh3.google.com/image/arnab.i/Rk1kFuVD8lI/AAAAAAAAANM/-Z-LKOOy2qE/s800/lateral-thinking-4.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER53d')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER53d"&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();}   catch(e) {}" href="http://lh4.google.com/image/arnab.i/Rk1kO-VD8pI/AAAAAAAAANs/mltXo-r1iNw/s800/lateral-thinking-ans-4.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://lh4.google.com/image/arnab.i/Rk1kO-VD8pI/AAAAAAAAANs/mltXo-r1iNw/s800/lateral-thinking-ans-4.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-2462259112004099031?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/2462259112004099031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=2462259112004099031' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/2462259112004099031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/2462259112004099031'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/05/53.html' title='#53'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-6608348641664215553</id><published>2007-05-10T12:15:00.000+05:30</published><updated>2007-05-10T12:28:16.719+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#52</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;em&gt;Brain Teasers&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;1. A man gave one son 10 cents and another son was given 15 cents. What time is it? &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER52a')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;ul class="texthidden" id="ANSWER52a"&gt;1:45. The man gave away a total of 25 cents. He divided it between two people. Therefore, he gave a quarter to two.&lt;/ul&gt;2. If I were in Hawaii and dropped a bowling ball in a bucket of water which is 45 degrees F, and dropped another ball of the same weight, mass, and size in a bucket at 30 degrees F, them at the same time, which ball would hit the bottom of the bucket first? Same question, but the location is in Canada?&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER52b')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER52b"&gt;Both questions, same answer: the ball in the bucket of 45 degree F water hits the bottom of the bucket last. Did you think that the water in the 30 degree F bucket is frozen? Think again. The question said nothing about that bucket having anything in it. Therefore, there is no water (or ice) to slow the ball down&lt;/ul&gt;&lt;br /&gt;3. What is the significance of the following: The year is 1978, thirty-four minutes past noon on May 6th.&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER52c')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER52c"&gt;The time and month/date/year are 12:34, 5/6/78.&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. The Elder Twin - One day Kerry celebrated her birthday. Two days later her older twin brother, Terry, celebrated his birthday. Why?&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER52d')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER52d"&gt;At the time she went into labor, the mother of the twins was travelling by boat. The older twin, Terry, was born first early on March 1st. The boat then crossed a time zone and Kerry, the younger twin, was born on February the 28th. Therefore, the younger twin celebrates her birthday two days before her older brother.&lt;/ul&gt;&lt;br /&gt;5. Trouble with Sons - A woman had two sons who were born on the same hour of the same day of the same year. But they were not twins. How could this be so?&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER52e')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER52e"&gt;They were two of a set of triplets (or quadruplets etc.) This puzzle stumps many people.&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-6608348641664215553?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/6608348641664215553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=6608348641664215553' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6608348641664215553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6608348641664215553'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/05/52.html' title='#52'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-5574409522197006630</id><published>2007-05-08T10:45:00.000+05:30</published><updated>2007-05-08T10:50:18.702+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>#51</title><content type='html'>&lt;span style="font-family:verdana;"&gt;What is the smallest &lt;a href="http://en.wikipedia.org/wiki/Quine" target="_blank"&gt;quine&lt;/a&gt; you've found so far ?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER51')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER51"&gt;&lt;span style="font-family:courier new;"&gt;int main(){char c[]="int main()%c{%cchar c[]=%c%s%c;%cprintf(c,10,10,34,c,34,10,10,10);%c}%c";printf(c,10,10,34,c,34,10,10,10);}&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-5574409522197006630?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/5574409522197006630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=5574409522197006630' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/5574409522197006630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/5574409522197006630'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/05/51.html' title='#51'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-490612255944735140</id><published>2007-05-08T10:43:00.000+05:30</published><updated>2007-05-08T10:45:18.191+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>#50</title><content type='html'>&lt;span style="font-family:verdana;"&gt;Check out a need coding for multidimesional arrays: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER50')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER50"&gt;&lt;span style="font-family:courier new;"&gt;for(int i=0; i &lt;&gt;&gt;a[i/n][i%n]; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;You can generalize this to whatever size and way you wanna :D &lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-490612255944735140?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/490612255944735140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=490612255944735140' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/490612255944735140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/490612255944735140'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/05/50.html' title='#50'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-6283075816409161433</id><published>2007-05-08T10:37:00.000+05:30</published><updated>2007-05-08T10:39:26.660+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>#49</title><content type='html'>&lt;span style="font-family:verdana;"&gt;Caps off code&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER49a')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER49a"&gt;&lt;span style="font-family:courier new;"&gt;void main(){ *(char far *)1047 &amp;= 191; }&lt;/span&gt;&lt;/ul&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Caps on code&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER49b')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER49b"&gt;&lt;span style="font-family:courier new;"&gt;void main(){ *(char far *)1047 = 64; }&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-6283075816409161433?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/6283075816409161433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=6283075816409161433' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6283075816409161433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6283075816409161433'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/05/49.html' title='#49'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-1087078806161209280</id><published>2007-05-08T10:27:00.000+05:30</published><updated>2007-05-08T10:35:22.061+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>#48</title><content type='html'>&lt;span style="font-family:verdana;"&gt;1. Printing "Hello World" without using a single semi colon in C:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER48a')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER48a"&gt;&lt;span style="font-family:verdana;"&gt;This is an age old problem, and most people have known it by now.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;main(){if(printf("hello world")){}}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;check I havnt used a semi colon :D&lt;br /&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;2. Ever thought of finding the greatest of 2 numbers without using using any comparison operators ?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER48b')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER48b"&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;Same old problem. Basically a little maths:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;a = 10;&lt;br /&gt;b = 5;&lt;br /&gt;&lt;br /&gt;c = [(a + b) + abs(a - b)]/2;// c will hold the greater of a and b&lt;br /&gt;d = [(a + b) - abs(a - b)]/2;// d will hold the lesser of a and b&lt;br /&gt;&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-1087078806161209280?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/1087078806161209280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=1087078806161209280' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1087078806161209280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1087078806161209280'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/05/48.html' title='#48'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-3632998393647907426</id><published>2007-05-08T10:23:00.000+05:30</published><updated>2007-05-08T10:26:21.728+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>#47</title><content type='html'>&lt;span style="font-family:verdana;"&gt;What is the “condition” such that .. this snippet of code prints HelloWorld!! &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;if condition &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;printf(”Hello); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;else &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-family:courier new;"&gt;print(”World!!);&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER47')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER47"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;This problem ... tampered my senses a lot .. and after asking a lot of people ... i could manage a very ordinary solution ... And still not satisfied with that ... I look for a solution ... where the condition would be suh that both parts get executed.. though its a falacy or WRONG in the words of compiler .. The current irritating solution is: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;if ( printf(”Hello”)&lt;0)&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;printf(”Hello”); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;else &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-family:courier new;"&gt;printf(”World!!);&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;There seems to be another solution by writing just one more line:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#define else ;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-3632998393647907426?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/3632998393647907426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=3632998393647907426' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/3632998393647907426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/3632998393647907426'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/05/47.html' title='#47'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-1686602608247859639</id><published>2007-05-03T08:57:00.000+05:30</published><updated>2007-05-03T09:00:00.377+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='numbers'/><title type='text'>#46</title><content type='html'>&lt;p&gt;&lt;span style="font-family:verdana;"&gt;What number comes next in the sequence: 10, 9, 60, 90, 70, 66?&lt;br /&gt;&lt;br /&gt;A) 96&lt;br /&gt;B) 1000000000000000000000000000000000\&lt;br /&gt;0000000000000000000000000000000000\&lt;br /&gt;000000000000000000000000000000000&lt;br /&gt;C) Either of the above&lt;br /&gt;D) None of the above&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER46')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER46"&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;This can be looked up and found to be sequence A052196 &lt;a href="http://www.research.att.com/cgi-bin/access.cgi/as/njas/sequences/eisA.cgi?Anum=A052196"&gt;http://www.research.att.com/cgi-bin/access.cgi/as/njas/sequences/eisA.cgi?Anum=A052196&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt; in the On-Line Encyclopedia of Integer Sequences, which gives the largest positive integer whose English name has n letters. For example, the first few terms are ten, nine, sixty, ninety, seventy, sixty-six, ninety-six A more correct sequence might be ten, nine, sixty, googol, seventy, sixty-six, ninety-six, googolplex. And also note, incidentally, that the correct spelling of the mathematical term "googol" &lt;a href="http://mathworld.wolfram.com/Googol.html"&gt;http://mathworld.wolfram.com/Googol.html&lt;/a&gt; differs from the name. The first few can be computed using the NumberName function in Eric Weisstein's MathWorld packages &lt;a title="http://mathworld.wolfram.com/packages/" href="http://mathworld.wolfram.com/packages/"&gt;http://mathworld.wolfram.com/packages/&lt;/a&gt; &lt;/span&gt;&lt;/p&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-1686602608247859639?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/1686602608247859639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=1686602608247859639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1686602608247859639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1686602608247859639'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/05/46.html' title='#46'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-6014917793783456850</id><published>2007-05-03T08:51:00.000+05:30</published><updated>2007-05-03T08:53:52.086+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='numbers'/><title type='text'>#45</title><content type='html'>&lt;p&gt;&lt;span style="font-family:verdana;"&gt;1&lt;br /&gt;1 1&lt;br /&gt;2 1&lt;br /&gt;1 2 1 1&lt;br /&gt;1 1 1 2 2 1&lt;br /&gt;&lt;br /&gt;&lt;em&gt;What's the next line?&lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER45')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER45"&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;312211.&lt;br /&gt;&lt;br /&gt;This is the "look and say" sequence in which each term after the first describes the previous term: one 1 (11); two 1s (21); one 2 and one 1 (1211); one 1, one 2, and two 1's (111221); and so on. See the look and say sequence &lt;a href="http://mathworld.wolfram.com/LookandSaySequence.html"&gt;http://mathworld.wolfram.com/LookandSaySequence.html&lt;/a&gt; &lt;/span&gt;&lt;span style="font-family:verdana;"&gt;entry on MathWorld for a complete write-up and the algebraic form of a fascinating related quantity known as Conway's constant &lt;a href="http://mathworld.wolfram.com/ConwaysConstant.html"&gt;http://mathworld.wolfram.com/ConwaysConstant.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-6014917793783456850?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/6014917793783456850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=6014917793783456850' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6014917793783456850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6014917793783456850'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/05/45.html' title='#45'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-1732481803747681899</id><published>2007-05-02T11:34:00.001+05:30</published><updated>2007-05-03T08:51:06.290+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='numbers'/><title type='text'>#44</title><content type='html'>&lt;p&gt;&lt;span style="font-family:verdana;"&gt;The following number is the only one of its kind.&lt;br /&gt;8,549,176,320&lt;br /&gt;Can you figure out what is so special about it?&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER44')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER44"&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;It's the only number that has all the digits arranged in alphabetical order.&lt;/span&gt;&lt;/p&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-1732481803747681899?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/1732481803747681899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=1732481803747681899' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1732481803747681899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1732481803747681899'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/05/44.html' title='#44'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7961702385009187974</id><published>2007-04-27T10:05:00.000+05:30</published><updated>2007-04-27T10:18:11.263+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='picture clues'/><title type='text'>#43</title><content type='html'>&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/168/474207727_272da3a9d9_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/168/474207727_272da3a9d9_o.jpg" border="0" /&gt;&lt;/a&gt; &lt;span style="font-family:verdana;"&gt;Join these five figures to form a square&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER43')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER43"&gt;&lt;span style="font-family:verdana;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/227/474195356_149a584c56_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/227/474195356_149a584c56_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7961702385009187974?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7961702385009187974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7961702385009187974' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7961702385009187974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7961702385009187974'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/43.html' title='#43'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7465962314533478746</id><published>2007-04-27T09:50:00.000+05:30</published><updated>2007-04-27T09:52:31.934+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#42</title><content type='html'>&lt;p&gt;&lt;span style="font-family:verdana;"&gt;There are 100 light bulbs lined up in a row in a long room. Each bulb has its own switch and is currently switched off. The room has an entry door and an exit door. There are 100 people lined up outside the entry door. Each bulb is numbered consecutively from 1 to 100. So is each person.&lt;br /&gt;Person No. 1 enters the room, switches on every bulb, and exits. Person No. 2 enters and flips the switch on every second bulb (turning off bulbs 2, 4, 6, …). Person No. 3 enters and flips the switch on every third bulb (changing the state on bulbs 3, 6, 9, …). This continues until all 100 people have passed through the room.&lt;br /&gt;What is the final state of bulb No. 64? And how many of the light bulbs are illuminated after the 100th person has passed through the room? &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER42')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER42"&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;Right first the answers: Light Bulb 64 is on. The total number of bulbs which are on including #64 is 10.&lt;br /&gt;First think who will operate each bulb, obviously person #2 will do all the even numbers, and say person #10 will operate all the bulbs that end in a zero. So who would operate for example bulb 48:&lt;br /&gt;Persons numbered: 1 &amp; 48, 2 &amp;amp; 24, 3 &amp; 16, 4 &amp;amp; 12, 6 &amp; 8 ........&lt;br /&gt;That is all the factors (numbers by which 48 is divisible) will be in pairs. This means that for every person who switches a bulb on there will be someone to switch it off. This willl result in the bulb being back at it's original state.&lt;br /&gt;So why aren't all the bulbs off?&lt;br /&gt;Think of bulb 36:-&lt;br /&gt;The factors are: 1 &amp;amp; 36, 2 &amp; 13, 6 &amp;amp; 6&lt;br /&gt;Well in this case whilst all the factors are in pairs the number 6 is paired with it's self. Clearly the sixth person will only flick the bulb once and so the pairs don't cancel. This is true of all the square numbers.&lt;br /&gt;There are 10 square numbers between 1 and 100 (1, 4, 9, 16, 25, 36, 49, 64, 81 &amp; 100) hence 10 bulbs remain on.&lt;br /&gt; &lt;/span&gt;&lt;/p&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7465962314533478746?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7465962314533478746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7465962314533478746' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7465962314533478746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7465962314533478746'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/42.html' title='#42'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7882900460539833989</id><published>2007-04-27T09:25:00.000+05:30</published><updated>2007-04-27T09:42:28.024+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='picture clues'/><title type='text'>#41</title><content type='html'>&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/177/474170213_257ab2a6fe_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/177/474170213_257ab2a6fe_o.jpg" border="0" /&gt;&lt;/a&gt; &lt;span style="font-family:verdana;"&gt;1) Choose and mark 6 of the following 24 boxes so that on each row and each column there are an even number of marks.&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER41a')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER41a"&gt;&lt;span style="font-family:verdana;"&gt;There are several possible answers. If you know how many, please tell me. Here are some of the possibilities:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/194/474157362_e95dbc4943_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/194/474157362_e95dbc4943_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/197/474170225_10b28fb0a4_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/197/474170225_10b28fb0a4_o.jpg" border="0" /&gt;&lt;/a&gt; &lt;span style="font-family:verdana;"&gt;2) What figure comes next?&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER41b')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER41b"&gt;&lt;span style="font-family:verdana;"&gt;Each figure is built from a number. The first is constructed using a 1 and the mirrored image of a one, pasted together. The same goes for the second figure which is a 2 and a 2 mirrored, pasted together. And so on. So the answer is a 6 with it's mirrored image, pasted together&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/171/474157388_9eb68b82e5_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/171/474157388_9eb68b82e5_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/172/474170241_0479128854_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/172/474170241_0479128854_o.jpg" border="0" /&gt;&lt;/a&gt; &lt;span style="font-family:verdana;"&gt;3) Draw four straight lines through all nine points without lifting your pen and without retracing.&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER41c')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER41c"&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/167/474157304_ac55148192_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/167/474157304_ac55148192_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/214/474157322_8f3ad2160b_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/214/474157322_8f3ad2160b_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/172/474170249_68eedcca90_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/172/474170249_68eedcca90_o.jpg" border="0" /&gt;&lt;/a&gt; &lt;span style="font-family:verdana;"&gt;4) Draw six straight lines through all sixtien points without lifting your pen and without retracing.&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER41d')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER41d"&gt;&lt;span style="font-family:verdana;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/223/474157352_5c3478a722_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/223/474157352_5c3478a722_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7882900460539833989?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7882900460539833989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7882900460539833989' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7882900460539833989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7882900460539833989'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/41.html' title='#41'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-6281535399304517201</id><published>2007-04-26T14:31:00.000+05:30</published><updated>2007-04-26T14:38:33.576+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#40</title><content type='html'>&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/214/473325991_30e48602d2_o.jpg"&gt;&lt;span style="font-family:verdana;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 300px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/214/473325991_30e48602d2_o.jpg" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-family:verdana;"&gt;1)&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-family:verdana;"&gt;You are a traveller and come to an inn. You want to stay for 7 days and you have a chain of 7 links. The innkeeper says you can stay at his inn if you pay one link of your chain per day. You cannot pay in advance. What is the minimum number of links you have to cut in order to stay the 7 days?&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER40a')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER40a"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;On the 1st day you cut the third link and give that link. On the second day you take it back and give the first 2 links. The third day you give the first and the second two links. On the 4th day you take all back and give the remaining 4 links connected. So in this way you just need to make 1 CUT.&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-family:verdana;"&gt;2)&lt;br /&gt;Minimum how many cuts would you make to create this link chain?&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER40b')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER40b"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;3.&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;Cut the 2nd link and join 1-&gt;2-&gt;3. Then cut the 6th link and join 5-&gt;6-&gt;7. Then cut the 4th link to join the prev 2 chains.&lt;/span&gt; &lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-6281535399304517201?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/6281535399304517201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=6281535399304517201' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6281535399304517201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6281535399304517201'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/40.html' title='#40'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-4326385972157386257</id><published>2007-04-26T12:08:00.000+05:30</published><updated>2007-04-26T12:09:17.433+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='numbers'/><title type='text'>#39</title><content type='html'>&lt;span style="font-family:verdana;"&gt;Consider the number 3 0 2 5. It satisfies several interesting properties:&lt;br /&gt;It has four digits&lt;br /&gt;All four digits are different &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;If we take the number that is the first two digits and sum it with the number that composes the last two digits, its square is the original number: (30+25)2=3025. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The original riddle asked you to find another such number. There is exactly one other, so altogether two. If the requirement that the digits be different is omitted, a third possibility presents itself. Finally, two more solutions enter into the game if we allow the four digits to include leading zeros, so all in all, five solutions to the relaxed version of this riddle.&lt;br /&gt;It is this relaxed riddle that we want to consider. The riddle this month is composed of two questions. Answer both to be considered a solver. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Question 1:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;If the relaxed version of the riddle is asked in an arbitrary base, b, instead of in base 10, how many solutions is it going to have, as a function of b?&lt;br /&gt;Question 2:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Consider the strict (original) version of the riddle, but, once again, asked in base b instead of in base 10. Will there be an answer for every b≥4? Prove your claim. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;em&gt;I am still to solve this&lt;/em&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-4326385972157386257?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/4326385972157386257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=4326385972157386257' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/4326385972157386257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/4326385972157386257'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/39.html' title='#39'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-5916630807003766408</id><published>2007-04-26T11:37:00.000+05:30</published><updated>2007-04-26T14:28:49.728+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#38</title><content type='html'>&lt;em&gt;&lt;span style="font-family:verdana;"&gt;Some more Liar and Knight with same rules:&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;You come up to two strangers: A and B who are either a liar and a knight, both liars or both knights. A says "Either I am a liar or he is a knight." Who&lt;br /&gt;is who in this situation? &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER38a')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER38a"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Both of them are knights&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;If A is a liar, his whole statement is false, which means; its not true that (A is a liar AND B is a knight). A is not a liar because his statement would make it a logical paradox.&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;2)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;You again come up to two strangers: A and B who are either a liar and a knight, both liars or both knights. A says "At least one of us is a liar." Who&lt;br /&gt;is who in this situation? &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER38b')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER38b"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;A is a knight, B is a liar. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;If A is a liar then his statement is false and neither of them is a liar, so A is not a liar. Thus A is a knight.&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;3)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;A stranger comes up to three people: A, B, and C who are liars, knights, or any combination of the two. The stranger asks A "Are you a knight or a liar?" He mumbled and the stranger did not understand what the answer was. The stranger then asked B "What did A say?" B says "A says he is a liar." Then C says "Don't believe B he is a liar." Who is who in the situation?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER38c')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER38c"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;B is a liar, C is a knight and A cannot be determined.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The statement that B said cannot be true since it would be a logical paradox for anyone to say I am a liar. this means B is a liar and the statement C makes comes right. So C is a knight&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;4)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;A stranger comes up to three people: A, B, and C who are liars, knights, or any combination of the two. A says: "We are all liars." B says: "One of us is a knight." Who is who? &lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER38d')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER38d"&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;A is a liar B is a knight C is a liar.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;If A is telling the truth then all of them are liars, which would force him to lie, but he is saying a true statement, so contradiction and A is a liar. Know A ia a liar means not all three are liars. If Bis telling the truth, he is thr knight and C is a liar, and that would corelate with A's statement. If B is lying, he is a liar. Now if C is a knight, B's statement would be true, but that can't happen since B is a liar. If C is a liar, A's statement would be true, but that can't happen since A is a liar.&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-5916630807003766408?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/5916630807003766408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=5916630807003766408' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/5916630807003766408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/5916630807003766408'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/37_26.html' title='#38'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-9087132298973833367</id><published>2007-04-26T11:19:00.000+05:30</published><updated>2007-04-26T14:25:32.555+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#37</title><content type='html'>&lt;em&gt;&lt;span style="font-family:verdana;"&gt;Liars and Knights!&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The following is a list of rules for this theme:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:verdana;"&gt;Here a liar always lies, and a knight always tells the truth.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;"&gt;Remember that no person can say "I lie"&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family:verdana;"&gt;1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;You come up to a fork in the road. One road leads to the city of liars(city where the inhabitants only lie) and the other to the city of knights(city where the inhabitants only tell the truth). There stands a man that is from one of the cities. What one question must you ask the man in order to get to the city of knights? &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER37a')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER37a"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Where are you from?&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;If the man is a liar he will point to the city of knight.If he is a knight he will point to the same.Thus you take the road that is pointed to by the stranger&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;2)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;You again come up to a fork in the road, only this time one leads to Paris and the other one to nowhere. There are two strangers at the fork, one is a liar and one is a knight, and you don't know who is who. What one question must you ask in order to find the way to Paris? &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER37b')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER37b"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Where would the other man tell me to go if I asked which way is Paris.&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-9087132298973833367?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/9087132298973833367/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=9087132298973833367' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/9087132298973833367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/9087132298973833367'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/37.html' title='#37'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-840512944478500787</id><published>2007-04-26T11:13:00.001+05:30</published><updated>2007-04-26T14:23:15.054+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#36</title><content type='html'>&lt;span style="font-family:verdana;"&gt;There are 4 people at a bridge: A, B, C, and D. It takes A 1 minute, B 2 minutes, C 5 minutes, and D 10 minutes to cross the bridge. They can cross alone or in pairs, but each single or pair must carry a flashlight with them. There is only one flashlight and it cannot be thrown. What is the shortest time that it will take A, B, C, and D to traverse the bridge?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER36')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER36"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;17 minutes.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;A + B goes  = 2min&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;A returns = 1min&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;C + D goes = 10min&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;B returns = 2min&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;A + B goes = 2min&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-840512944478500787?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/840512944478500787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=840512944478500787' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/840512944478500787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/840512944478500787'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/36.html' title='#36'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-8712970648454483627</id><published>2007-04-26T11:05:00.001+05:30</published><updated>2007-04-26T14:22:29.441+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#35</title><content type='html'>&lt;span style="font-family:verdana;"&gt;There are three wise men on top of a mountain that are arguing about who is the wisest of them all. A stranger comes along and says he can solve their debate. The stranger has 5 hats, two black and three white, as shown below. He says "I will put a hat on each one of you when your eyes are closed and take the remaining hats away. When you open your eyes you will be able to see the other two mens hats but not your own. The first person to definitevly say what color hat he has wins." The wise men sat for a long time and finally one said "I know what color hat I have!" Remember they are wise men and do not take guesses so the wiseman knew for sure what hat he had. What color are the hats on each wiseman and how did the one who spoke arrive at his conclusion?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER35')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER35"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The 3 wise men all had white hats.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Lets consider 3 cases for the wisemen A,B and C. 1) 2 hats are black and 1 is white 2) 1 hat is black and 2 are white 3) all 3 are white hats. If any of the 3 wise men saw 2 black hats he would know that his hat is white. Again, they were thinking for a long time and nobody saw a white and a black. If A saw 2 white hats he would know his hat is not black because B would see a black and white and deduce he has white.Since they were sitting for a long time each saw 2 white hats which means they all had white hats.&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-8712970648454483627?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/8712970648454483627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=8712970648454483627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/8712970648454483627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/8712970648454483627'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/35.html' title='#35'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7279362712730772448</id><published>2007-04-25T12:52:00.000+05:30</published><updated>2007-04-26T14:21:12.036+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='bit twiddling'/><title type='text'>#34</title><content type='html'>&lt;span style="font-family:verdana;"&gt;How simple can your code be if you want to return the firs set/unset bits?&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER34')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER34"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;c &amp; -c or c &amp;amp;amp; (~c + 1); //Return first bit set&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;~c &amp; (c + 1); //Return first unset bit&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7279362712730772448?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7279362712730772448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7279362712730772448' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7279362712730772448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7279362712730772448'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/how-simple-can-your-code-be-if-you-want.html' title='#34'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-6258823403547884285</id><published>2007-04-25T12:49:00.000+05:30</published><updated>2007-04-26T14:19:30.407+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>#33</title><content type='html'>&lt;span style="font-family:verdana;"&gt;How can you find the minimum or maximum of 2 numbers without using relational operations ?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER33')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER33"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;r = y + ((x - y) &amp; -(x &lt;&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;r = x - ((x - y) &amp;amp; -(x &lt;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-6258823403547884285?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/6258823403547884285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=6258823403547884285' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6258823403547884285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6258823403547884285'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/how-can-you-find-minimum-or-maximum-of.html' title='#33'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-6324574540585307406</id><published>2007-04-25T12:43:00.001+05:30</published><updated>2007-04-26T14:17:37.603+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='picture clues'/><title type='text'>#32</title><content type='html'>&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/192/472164453_784e598507_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/192/472164453_784e598507_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER32a')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER32a"&gt;&lt;span style="font-family:verdana;"&gt;jack in a box&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/224/472149938_1eb26d5768_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/224/472149938_1eb26d5768_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER32b')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER32b"&gt;&lt;span style="font-family:verdana;"&gt;apple pie&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/205/472149974_51a3c231b7_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/205/472149974_51a3c231b7_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER32c')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER32c"&gt;&lt;span style="font-family:verdana;"&gt;3 degrees below zero&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/213/472149964_a7e16012a1_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/213/472149964_a7e16012a1_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER32d')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER32d"&gt;&lt;span style="font-family:verdana;"&gt;see through blouse&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/229/472164509_c1eb1a4de5_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/229/472164509_c1eb1a4de5_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER32e')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER32e"&gt;&lt;span style="font-family:verdana;"&gt;just around the corner&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/179/472149976_44b6c976cd_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/179/472149976_44b6c976cd_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER32f')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER32f"&gt;&lt;span style="font-family:verdana;"&gt;cross roads&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/196/472150024_c13c2f4b45_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/196/472150024_c13c2f4b45_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER32g')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER32g"&gt;&lt;span style="font-family:verdana;"&gt;moral support&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/218/472164523_b5731a50d9_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/218/472164523_b5731a50d9_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER32h')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER32h"&gt;&lt;span style="font-family:verdana;"&gt;making up for lost time&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/201/472164537_1635030d81_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/201/472164537_1635030d81_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER32i')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER32i"&gt;&lt;span style="font-family:verdana;"&gt;half hearted&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-6324574540585307406?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/6324574540585307406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=6324574540585307406' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6324574540585307406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6324574540585307406'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/30.html' title='#32'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-973371091428697381</id><published>2007-04-25T12:37:00.000+05:30</published><updated>2007-04-26T14:12:55.842+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='data stuctures'/><title type='text'>#31</title><content type='html'>&lt;span style="font-family:verdana;"&gt;How can you reverse a linked list without using any more memory?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER31')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER31"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;iterative&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;loop curr-&gt;next = prev; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;prev = curr; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;curr = next; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;next = curr-&gt;next &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;endloop&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;recursive &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;reverse(ptr) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;if (ptr-&gt;next == NULL) return ptr; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;temp = reverse(ptr-&gt;next); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;temp-&gt;next = ptr; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;return ptr; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;end &lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-973371091428697381?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/973371091428697381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=973371091428697381' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/973371091428697381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/973371091428697381'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/29_25.html' title='#31'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-1437916932367637235</id><published>2007-04-25T12:34:00.000+05:30</published><updated>2007-04-26T14:13:31.279+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='bit twiddling'/><title type='text'>#30</title><content type='html'>&lt;span style="font-family:verdana;"&gt;How can you round up to the next highest power of 2?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER30')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER30"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;unsigned int v;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;v--;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;v = v &gt;&gt; 1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;v = v &gt;&gt; 2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;v = v &gt;&gt; 4;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;v = v &gt;&gt; 8;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;v = v &gt;&gt; 16;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;v++;&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-1437916932367637235?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/1437916932367637235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=1437916932367637235' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1437916932367637235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1437916932367637235'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/29.html' title='#30'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7252702607010733927</id><published>2007-04-25T12:32:00.000+05:30</published><updated>2007-04-26T14:13:17.015+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='words'/><title type='text'>#29</title><content type='html'>&lt;p&gt;&lt;span style="font-family:verdana;"&gt;There is a common English word that is nine letters long. Each time you remove a letter from it, it still remains an English word - from nine letters right&lt;br /&gt;down to a single letter. What is the original word, and what are the words that it becomes after removing one letter at a time? &lt;/span&gt;&lt;/p&gt;&lt;a onclick="expandcollapse('ANSWER29')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER29"&gt;&lt;span style="font-family:verdana;"&gt;The base word is Startling - starting - staring - string - sting - sing - sin - in - I&lt;/span&gt;&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7252702607010733927?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7252702607010733927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7252702607010733927' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7252702607010733927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7252702607010733927'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/28_25.html' title='#29'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-3280744996245737662</id><published>2007-04-25T12:18:00.000+05:30</published><updated>2007-04-26T14:11:41.454+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='picture clues'/><title type='text'>#28</title><content type='html'>&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/177/472150648_da21b2c6e1_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/177/472150648_da21b2c6e1_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER28a')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER28a"&gt;&lt;span style="font-family:verdana;"&gt;west indies&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;p align="left"&gt;&lt;br /&gt; &lt;/p&gt;&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/216/472165089_dae6ba1bc4_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/216/472165089_dae6ba1bc4_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER28b')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER28b"&gt;&lt;span style="font-family:verdana;"&gt;up before eight&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;p align="left"&gt;&lt;br /&gt; &lt;/p&gt;&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/211/472165057_8550087d1c_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/211/472165057_8550087d1c_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER28c')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER28c"&gt;&lt;span style="font-family:verdana;"&gt;back door&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;p align="left"&gt;&lt;br /&gt; &lt;/p&gt;&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/187/472150120_7f96e2da80_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/187/472150120_7f96e2da80_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER28d')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER28d"&gt;&lt;span style="font-family:verdana;"&gt;standing ovation&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;p align="left"&gt;&lt;br /&gt; &lt;/p&gt;&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/186/472164589_30e68186d2_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/186/472164589_30e68186d2_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER28e')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER28e"&gt;&lt;span style="font-family:verdana;"&gt;6 feet inder ground&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;p align="left"&gt;&lt;br /&gt; &lt;/p&gt;&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/199/472164573_d56b47a12f_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/199/472164573_d56b47a12f_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER28f')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER28f"&gt;&lt;span style="font-family:verdana;"&gt;reading between the lines&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;p align="left"&gt;&lt;br /&gt; &lt;/p&gt;&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/228/472150026_447b6072c9_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/228/472150026_447b6072c9_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER28g')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER28g"&gt;&lt;span style="font-family:verdana;"&gt;quite right&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;p align="left"&gt;&lt;br /&gt; &lt;/p&gt;&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/171/472164549_309035a582_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/171/472164549_309035a582_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER28h')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER28h"&gt;&lt;span style="font-family:verdana;"&gt;i understand you underatke to undermine my undertaking&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;p align="left"&gt;&lt;br /&gt; &lt;/p&gt;&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/196/472164513_4e4ef2cd53_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/196/472164513_4e4ef2cd53_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER28i')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER28i"&gt;&lt;span style="font-family:verdana;"&gt;growing economy&lt;/span&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-3280744996245737662?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/3280744996245737662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=3280744996245737662' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/3280744996245737662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/3280744996245737662'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/28.html' title='#28'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-6142578265670420545</id><published>2007-04-25T10:34:00.000+05:30</published><updated>2007-04-26T14:01:58.277+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='bit twiddling'/><title type='text'>#27</title><content type='html'>&lt;span style="font-family:verdana;"&gt;Reverse the bits of an unsigned integer.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER27')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER27"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;#define reverse(x)                              \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;(x=x&gt;&gt;16(0x0000ffff&amp;x)&lt;&lt;16,&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;               x=(0xff00ff00&amp;x)&gt;&gt;8(0x00ff00ff&amp;amp;x)&lt;&lt;8,&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;               x=(0xf0f0f0f0&amp;x)&gt;&gt;4(0x0f0f0f0f&amp;amp;x)&lt;&lt;4,&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;               x=(0xcccccccc&amp;x)&gt;&gt;2(0x33333333&amp;amp;x)&lt;&lt;2,&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;               x=(0xaaaaaaaa&amp;x)&gt;&gt;1(0x55555555&amp;amp;x)&lt;&lt;1)&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-6142578265670420545?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/6142578265670420545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=6142578265670420545' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6142578265670420545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6142578265670420545'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/27.html' title='#27'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-3806428458391740950</id><published>2007-04-25T10:33:00.001+05:30</published><updated>2007-04-26T14:02:55.567+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='bit twiddling'/><title type='text'>#26</title><content type='html'>&lt;span style="font-family:verdana;"&gt;How do we test most simply if an unsigned integer is a power of two?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER26')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER26"&gt;&lt;br /&gt;&lt;span style="font-family:verdana"&gt;f = !(v &amp;amp; (v - 1)) &amp;&amp;amp; v;&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-3806428458391740950?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/3806428458391740950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=3806428458391740950' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/3806428458391740950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/3806428458391740950'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/26.html' title='#26'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-1808132209533594890</id><published>2007-04-25T10:27:00.000+05:30</published><updated>2007-04-26T13:54:25.064+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='words'/><title type='text'>#25</title><content type='html'>&lt;span style="font-family:verdana;"&gt;Can you name a word that uses the vowels A, E, I, O, U in order?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Facetious&lt;/span&gt;&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-1808132209533594890?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/1808132209533594890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=1808132209533594890' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1808132209533594890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/1808132209533594890'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/25.html' title='#25'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-8207693794264123363</id><published>2007-04-25T10:18:00.000+05:30</published><updated>2007-04-26T14:00:46.958+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='picture clues'/><title type='text'>#24</title><content type='html'>&lt;span style="font-family:verdana;"&gt;mary&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;+ mary&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;----------&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER24a')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER24a"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;summary&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;give give&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;give give&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;get get&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;get get&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER24b')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER24b"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;forgive and forget&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;travel&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;-------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;cccccccccc&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER24c')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER24c"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Travel overseas&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;CCCCCCC&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER24d')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER24d"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;7 seas&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;t&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;o&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;w&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;n&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER24e')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER24e"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;downtown&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;cycle&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;cycle&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;cycle&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER24f')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER24f"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Tricycle&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;knee&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;lights&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER24g')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER24g"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;neon lights&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;-&gt;aid&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;aid&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;aid&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER24h')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER24h"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;first aid&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-8207693794264123363?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/8207693794264123363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=8207693794264123363' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/8207693794264123363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/8207693794264123363'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/24.html' title='#24'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-8852312974626080680</id><published>2007-04-24T12:38:00.000+05:30</published><updated>2007-04-26T13:52:15.245+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#23</title><content type='html'>&lt;span style="font-family:verdana;"&gt;You have 9 gold coins. All 9 coins look exactly the same but one coin is a fake and is either lighter or heavier than the other 8 coins.  You have a scale  - balance type with 2 trays -  but can only load it twice. How do you find the fake gold coin? &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER23')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER23"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Take any 8 of the 9 coins, and load the scale up with four coins on either side. If the two sides are equal, then the remaining coin is the fake.&lt;br /&gt;If however, the two sides are not equal, then that remaining coin is a real coin and the fake is in one side or the other of the scale. The trick is that now you must unload at the same time a single coin from each side of the scales. If the scales now balance, the bad coin is one of  the two which you just withdrew. If the scales remain unbalanced, the fake is still on the scales. As you remove good coins you can just add them to the good coin pile which began with the first isolated coin. Once you have found the two coins which when removed balance the scales, or if they are the final two and the scales are still unbalanced, you take one of those two and weigh it against a known good coin. If they balance on this second loading of the scales, or if the don't, you have now with only two loadings of the scales correctly identified the fake coin.&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-8852312974626080680?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/8852312974626080680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=8852312974626080680' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/8852312974626080680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/8852312974626080680'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/23.html' title='#23'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-4343597992729299945</id><published>2007-04-24T11:59:00.000+05:30</published><updated>2007-05-03T08:50:35.455+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='numbers'/><title type='text'>#22</title><content type='html'>&lt;span style="font-family:verdana;"&gt;COMPLETE the following row of numbers: 10, 11, 12, 13, 14, 15, 16, 17, 20, 22, 24, 31, 100, 121, 10000, ? &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER22')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER22"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;1 111 111 111 111 111&lt;br /&gt;Yes, a very large number indeed! That's 16 ones in a row. And why? Well, think about the word 'COMPLETE' in the riddle. It means the row contains 16 numbers. So the row probably has something to do with the number 16.And how do these numbers relate to 16? Well, each number is actually equal to 16, but written in another numerical system. For example: 16 in the hexadecimal system is written as 10 (1x16 + 0x1). Let's go over the list:&lt;br /&gt;16 in the 16th (=hexadecimal) numerical system is 10 (1 times 16 + 0 times 1)&lt;br /&gt;16 in the 15th numerical system is 11 (1 times 15 + 1 times 1)&lt;br /&gt;...&lt;br /&gt;16 in the 3rd numerical system is 121 (1 times 9 + 2 times 3 + 1 times 1)&lt;br /&gt;16 in the 2nd (binary) numerical system is 10000 (1 times 16 + 0 times 8 + 0 times 4 + 0 times 2 + 0 times 1)&lt;br /&gt;and finally 16 in the 1st numerical system is 1111111111111111 (1 times 1 + 1 times 1 + ... + 1 times 1)&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-4343597992729299945?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/4343597992729299945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=4343597992729299945' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/4343597992729299945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/4343597992729299945'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/20.html' title='#22'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-2841294363607042850</id><published>2007-04-24T11:54:00.000+05:30</published><updated>2007-04-26T13:51:47.759+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#21</title><content type='html'>&lt;span style="font-family:verdana;"&gt;You have 10 bags with 10 marbles in each bag. All marbles weigh 10g except for the marbles in one bag which weigh 9g. But you don't know in which bag these 9g marbles are. You have to find out by taking zero or more marbles from zero or more bags and put them on a weightscale. After seeing the result of the weight, you should be able to tell in which bag the marbles weigh only 9g. So how many marbles from which bags do you take to weigh?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER21')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER21"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Take 1 marble from bag 1,&lt;br /&gt;take 2 marbles from bag 2,&lt;br /&gt;take 3 marbles from bag 3,&lt;br /&gt;...&lt;br /&gt;take 9 marbles from bag 9 and&lt;br /&gt;take 10 marbles from bag 10&lt;br /&gt;&lt;br /&gt;Now put them on the weightscale. Now there are 10 possible measurements. If all marbles would weigh 10g, the total would be 550g. But one or more marbles weigh 9g. So if you took one 9g marble, the total would be 549g. If you took two 9g marbles, the total would be 548g. And so on.You know the total weight, so you know the number of 9g marbles you took. That is, if the total was 549g, you took one 9g marble. If the total was 548g, you took two 9g marbles. And so on.Now that you know how many 9g marbles you took, you know in which bag they are because you took 1 marble from bag 1, 2 marbles from bag 2, etc.So if the weight is: 549g the bag with the 9g marbles is bag 1.&lt;br /&gt;548g the bag with the 9g marbles is bag 2.&lt;br /&gt;...&lt;br /&gt;541g the bag with the 9g marbles is bag 9.&lt;br /&gt;540g the bag with the 9g marbles is bag 10.&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-2841294363607042850?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/2841294363607042850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=2841294363607042850' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/2841294363607042850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/2841294363607042850'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/you-have-10-bags-with-10-marbles-in.html' title='#21'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-3308240422758428776</id><published>2007-04-24T11:48:00.001+05:30</published><updated>2007-04-26T13:51:33.182+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='series'/><title type='text'>#20</title><content type='html'>What letter is next in this sequence? O T T F F S S E _&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER20')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER20"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;N (nine) &lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-3308240422758428776?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/3308240422758428776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=3308240422758428776' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/3308240422758428776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/3308240422758428776'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/18_24.html' title='#20'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7013938215100237101</id><published>2007-04-24T11:43:00.000+05:30</published><updated>2007-04-26T13:51:20.297+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='picture clues'/><title type='text'>#19</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;em&gt;What word, expression, or name is depicted in:&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;1. GR12"AVE&lt;br /&gt;2. MILLONEION &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;3. H, I, J, K, L, M, N AND O &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;4. STA4NCE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;5. NEAFRIENDED&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;6. abcdefghijklmnopqrstvwxyz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;7. lu cky&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;8. He's/ Himself&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;9. ecnalg&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;10. pro/mise&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;11. youjustme&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;12. le/vel&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER19')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER19"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;1. One foot in the grave&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;2. One in a million&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;3. H2O (water)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;4. For instance&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;5. A Friend indeed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;6. Without you&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;7. Lucky break&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;8. He is by himself&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;9. Reverse glance&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;10. Broken promise&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;11. Just between you and me&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;12. Split level&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7013938215100237101?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7013938215100237101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7013938215100237101' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7013938215100237101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7013938215100237101'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/17.html' title='#19'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-3411269355994949180</id><published>2007-04-24T11:35:00.001+05:30</published><updated>2007-04-26T13:51:05.490+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='words'/><title type='text'>#18</title><content type='html'>&lt;span style="font-family:verdana;"&gt;What word can be written forward, backward or upside down, and can still be read from left to right? &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER18')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER18"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;NOON&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-3411269355994949180?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/3411269355994949180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=3411269355994949180' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/3411269355994949180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/3411269355994949180'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/16_4922.html' title='#18'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7736193131345162010</id><published>2007-04-24T11:33:00.000+05:30</published><updated>2007-05-22T16:50:39.760+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='series'/><title type='text'>#17</title><content type='html'>&lt;span style="font-family:verdana;"&gt;Which does not belong in this group: Apple, Grape, Banana, Cherry, Pear &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER17')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER17"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Banana (peeled before eating)&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7736193131345162010?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7736193131345162010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7736193131345162010' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7736193131345162010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7736193131345162010'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/16_24.html' title='#17'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-9104699756580033522</id><published>2007-04-24T11:32:00.001+05:30</published><updated>2007-04-26T13:50:39.891+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='series'/><title type='text'>#16</title><content type='html'>&lt;span style="font-family:verdana;"&gt;What other letter fits in the following series: B C D E I K O X?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER16')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER16"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;H&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Vertical symmentry&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-9104699756580033522?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/9104699756580033522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=9104699756580033522' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/9104699756580033522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/9104699756580033522'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/16.html' title='#16'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-4465444674364270312</id><published>2007-04-24T11:28:00.000+05:30</published><updated>2007-04-26T13:50:12.954+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='words'/><title type='text'>#15</title><content type='html'>&lt;span style="font-family:verdana;"&gt;Gaze at this sentence for just about sixty seconds and then explain what makes it quite different from the average sentence. Quick! What is it?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER15')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER15"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;It contains all of the letters in the alphabet!&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-4465444674364270312?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/4465444674364270312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=4465444674364270312' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/4465444674364270312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/4465444674364270312'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/15.html' title='#15'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-2913713316198942373</id><published>2007-04-24T11:13:00.000+05:30</published><updated>2007-04-26T13:49:39.187+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#14</title><content type='html'>&lt;span style="font-family:verdana;"&gt;There is a man who lives on the 10th floor of a building and on his way back from work every day he takes the elevator to the 7th floor and walks up the rest of the stairs except on rainy day when he takes the elevator all the way why is this.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER14')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER14"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The man is a midget and  he can only reach the no7 and on a rainy day he uses a umbrella &lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-2913713316198942373?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/2913713316198942373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=2913713316198942373' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/2913713316198942373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/2913713316198942373'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/14.html' title='#14'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-2694943445983236004</id><published>2007-04-24T10:39:00.000+05:30</published><updated>2007-04-26T13:49:25.261+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#13</title><content type='html'>&lt;span style="font-family:verdana;"&gt;There are three men with guns, and you are one of them. Every man shoots a buttet at a time. Suppose you are given the first turn to shoot. Whom should you shoot for staying alive?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER13')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER13"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;No one. Shoot in the air and hope for the best :)&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-2694943445983236004?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/2694943445983236004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=2694943445983236004' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/2694943445983236004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/2694943445983236004'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/13.html' title='#13'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7047406704304465</id><published>2007-04-24T10:35:00.000+05:30</published><updated>2007-04-26T13:49:12.816+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#12</title><content type='html'>&lt;span style="font-family:verdana;"&gt;You are in a hallway and there are two doors. One door leads to heven the other leads to hell. There is a man at each door and both know which door leads to heaven or hell. Youcan ask them any question to find out which door leads to heaven or hell, but one man always lies and the other always tells the truth. Now what question could you ask too find out which door leads to heaven or hell. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER12')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER12"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;You go to one man and ask"If I were to ask that guy over there which door leads to heaven what would he say." Then you ask the other guy the same question.&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7047406704304465?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7047406704304465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7047406704304465' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7047406704304465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7047406704304465'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/12.html' title='#12'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-6470038073274090751</id><published>2007-04-24T10:24:00.000+05:30</published><updated>2007-04-26T13:48:45.375+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#11</title><content type='html'>&lt;span style="font-family:verdana;"&gt;There is a desert island... on the island is you a goose a bag of seed and a fox. You need to get them all on your boat back to the main land. There are three rules: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;1 you have to be on the boat at all times &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;2 you can't leave the goose with the seed &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;3 you cant leave the seed with fox with the goose &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;In what order do you bring them over? &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER11')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER11"&gt;&lt;span style="font-family:verdana;"&gt;You take the goose there then you go back for the seed.  You cant get the fox now because the seed is with the goose so you take the goose back to the island with you. Then you bring the fox and go back for the goose&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-6470038073274090751?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/6470038073274090751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=6470038073274090751' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6470038073274090751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/6470038073274090751'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/11.html' title='#11'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-147635908519313947</id><published>2007-04-24T10:19:00.001+05:30</published><updated>2007-04-26T13:48:10.044+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='numbers'/><title type='text'>#10</title><content type='html'>&lt;span style="font-family:verdana;"&gt;There were 2 jugs, one could hold only 3 gallons of water and the other could hold only 5 gallons of water. How would you get exactly four gallons of water?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER10')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER10"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;You would put three gallons of water in the 5 gallon jug, then you would fill up the 3 gallon jug up, and pour as much water as you can into the 5 gallon jug. You will now have 1 gallon of water in the 3 gallon jug. You then empty the 5 gallon jug, put the one gallon of water from the 3 gallon jug into the 5 gallon jug then fill the 3 gallon jug up again and put the water into the 5 gallon jug.&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-147635908519313947?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/147635908519313947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=147635908519313947' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/147635908519313947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/147635908519313947'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/10.html' title='#10'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7436163461708403650</id><published>2007-04-24T10:06:00.000+05:30</published><updated>2007-04-26T13:47:56.133+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#9</title><content type='html'>&lt;span style="font-family:verdana;"&gt;You are in a room with three light switches. Each light switch turns on one light in the next room. The first light switch does not necessarily go to the first light bulb. The bulb and switch can match up in any order. You can only go to the room with the lightbulbs once. In that one time you must determine which light switch goes to which lightbulb. The room is not transparent you cannot peak under the door and there are no holes in the walls and no windows. How do you tell which light switch goes to which light bulb? &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER9')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER9"&gt;&lt;span style="font-family:verdana;"&gt;You turn on the first switch for five minutes then turn it off. Then, turn on the second switch and go to the light bulb room. The bulb that is on is the second switch, the bulb that is off but hot is the first switch and the bulb that is off and cold is the third switch.&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7436163461708403650?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7436163461708403650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7436163461708403650' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7436163461708403650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7436163461708403650'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/9.html' title='#9'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-8696850929645686494</id><published>2007-04-24T10:00:00.000+05:30</published><updated>2007-04-26T13:47:40.270+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='words'/><title type='text'>#8</title><content type='html'>&lt;span style="font-family:verdana;"&gt;You are in a room with no windows or doors. The only things in the room are a mirror and a round table, and yet you get out. How do you get out? &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER8')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER8"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;You look in the mirror, you see what you saw. You take the saw, you cut the table in half, two halves make a whole. You climb out the whole(hole).&lt;/span&gt;&lt;/ul&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-8696850929645686494?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/8696850929645686494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=8696850929645686494' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/8696850929645686494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/8696850929645686494'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/you-are-in-room-with-no-windows-or.html' title='#8'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7734724755305027133</id><published>2007-04-24T09:53:00.000+05:30</published><updated>2007-04-26T13:47:25.365+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='words'/><title type='text'>#7</title><content type='html'>&lt;span style="font-family:verdana;"&gt;Jumbled words:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;0. LAWN SAND JEALOUS (place) Answer: Los Angeles &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;1. SHOCK CUSSED TOE (~a person~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;2. SAND TACKLE LAWS (~a fictional character~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;3. MY GULCH HOARD UN (~a person~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;4. MOW BEAD HICK (~a book~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;5. TALL MISCHIEF HER SUN (~a person~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;6. CHICK HE TUB AN AN US (~a product~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;7. THOUGH TIGHT AN HICK (~a thing~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;8. AISLE OH VIEW (~a phrase~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;9. TUB RAID HEAP HUNCH (~a old TV show~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;10. CARESS TROUGHER CLUMP US (~a person~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;11. DOCKED HEARSE WHOSE (~a person~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;12. THUMB ILL KEY WAKE OWL LICKS HE (~a place~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;13. AGE ANT HUB BLOWS HEAVEN (~a fictional character~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;14. THESE HOUND DOVE MOO SICK (~a movie~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;15. BUCK SPUN HE (~a fictional character~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;16. KNICK HOLA GENE CARTER (~a person~) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;17. USTOODWERNJ (~a phrase~)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER7')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER7"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;1. Jacques Cousteau &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;2. Santa Claus &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;3. Michael Jordan &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;4. Moby Dick &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;5. Thomas Jefferson &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;6. Chiquita Banana &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;7. The Titanic &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;8. I love you &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;9. The Brady Bunch &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;10. Christopher Columbus &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;11. Doctor Seuss &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;12. The Milky Way Galaxy &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;13. Agent 007 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;14. The Sound of Music &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;15. Bugs Bunny &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;16. Nickolas Gene Carter&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;17. Just One Word&lt;/span&gt;&lt;br /&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7734724755305027133?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7734724755305027133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7734724755305027133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7734724755305027133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7734724755305027133'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/7.html' title='#7'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7642983220378676068</id><published>2007-04-24T09:24:00.001+05:30</published><updated>2007-04-26T13:47:08.045+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#6</title><content type='html'>&lt;p&gt;&lt;em&gt;&lt;span style="font-family:verdana;"&gt;Imagine this ..&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;You are driving along in your car on a wild, stormy night, it's raining heavily, when suddenly you pass by a bus stop, and you see three people waiting for a bus:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;1. An old lady who looks as if she is about to die.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;2. An old friend who once saved your life.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;3. The perfect partner you have been dreaming about.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;Which one would you choose to offer a ride to, knowing very well that there could only be one passenger in your car?&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER6')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER6"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;"I would give the car keys to my Old friend and let him take the lady to the hospital. I would stay behind and wait for the bus with the partner of my dreams."&lt;/span&gt;&lt;br /&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7642983220378676068?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7642983220378676068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7642983220378676068' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7642983220378676068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7642983220378676068'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/6.html' title='#6'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7540091318113203783</id><published>2007-04-24T09:22:00.000+05:30</published><updated>2007-04-26T13:46:50.651+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='numbers'/><title type='text'>#5</title><content type='html'>&lt;span style="font-family:verdana;"&gt;There is a 10 digit number, the digit 'n' in position 'p' tells the number of digits of p in that number. What is that number?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER5')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER5"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;position -&gt; 0123456789&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;number -&gt; 6210001000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;6 is the number of 0s; 2 is the number of 1s; 1 is the number of 2s and 6s&lt;/span&gt;&lt;br /&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7540091318113203783?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7540091318113203783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7540091318113203783' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7540091318113203783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7540091318113203783'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/5.html' title='#5'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-5063715645705990695</id><published>2007-04-24T09:20:00.000+05:30</published><updated>2007-04-26T13:46:37.962+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='logic'/><title type='text'>#4</title><content type='html'>&lt;span style="font-family:verdana;"&gt;A man walk into a bar and ask the bartender 4 a glass of water. The bartender pionted a gun to his face. The man said thank you and walk out of the bar. Why did he say thank u?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER4')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER4"&gt;&lt;br /&gt;&lt;span&gt;because he had the hicups &lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-5063715645705990695?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/5063715645705990695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=5063715645705990695' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/5063715645705990695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/5063715645705990695'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/4.html' title='#4'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-7950219994240248686</id><published>2007-04-24T09:17:00.000+05:30</published><updated>2007-04-26T13:46:05.286+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='picture clues'/><title type='text'>#3</title><content type='html'>&lt;div align="left"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/206/463750299_e96b7af73e_o.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 300px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm1.static.flickr.com/206/463750299_e96b7af73e_o.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER3')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER3"&gt;&lt;br /&gt;&lt;span&gt;C on V in C in G - convincing&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-7950219994240248686?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/7950219994240248686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=7950219994240248686' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7950219994240248686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/7950219994240248686'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/3.html' title='#3'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-2756282105042668471</id><published>2007-04-24T09:15:00.000+05:30</published><updated>2007-04-24T09:16:58.446+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='data stuctures'/><title type='text'>#2</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;em&gt;I am yet to solve this:&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;An array of size N has distinct values 1…N in random order. You have only operator called rev(X) (where X is any value from 0 to N-1) which reverses all values from 0 to X (example values 2,3,1,4 and rev(2) gets you 1,3,2,4). Our objective is to sort the array using minimum number of Rev(X) functions. How many permutations of N size array require exactly N number of rev(X) operators to get sorted?&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-2756282105042668471?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/2756282105042668471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=2756282105042668471' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/2756282105042668471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/2756282105042668471'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/2.html' title='#2'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2093815891671924132.post-3134563409739962308</id><published>2007-04-24T09:13:00.000+05:30</published><updated>2007-04-26T13:44:59.456+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='words'/><title type='text'>#1</title><content type='html'>&lt;span style="font-family:verdana;"&gt;What starts with an 'e', ends with an 'e' and usually contains only one letter?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="expandcollapse('ANSWER1')" href="javascript:void(0);"&gt;Answer:&lt;/a&gt;&lt;br /&gt;&lt;ul class="texthidden" id="ANSWER1"&gt;&lt;br /&gt;&lt;span&gt;envelope&lt;/span&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2093815891671924132-3134563409739962308?l=riddlespot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riddlespot.blogspot.com/feeds/3134563409739962308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2093815891671924132&amp;postID=3134563409739962308' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/3134563409739962308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2093815891671924132/posts/default/3134563409739962308'/><link rel='alternate' type='text/html' href='http://riddlespot.blogspot.com/2007/04/1.html' title='#1'/><author><name>Arnab Pal</name><uri>http://www.blogger.com/profile/12618321401321748431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
