<?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/'><id>tag:blogger.com,1999:blog-16805286.post892153916866155203..comments</id><updated>2011-02-18T12:44:04.975+05:30</updated><category term='barcamp'/><category term='dad'/><category term='2009'/><category term='sms'/><category term='ramdom'/><category term='bug'/><category term='mehndi'/><category term='wedding'/><category term='champions'/><category term='shopping'/><category term='framesofmind'/><category term='nature'/><category term='CMU'/><category term='lyrics'/><category term='easter'/><category term='train'/><category term='College'/><category term='xkcd'/><category term='git'/><category term='mekadatu'/><category term='TV show'/><category term='thoughts'/><category term='celebrity'/><category term='picnic'/><category term='video'/><category term='wish'/><category term='WTF'/><category term='yuyutsa'/><category term='racing'/><category term='invite'/><category term='Goa'/><category term='bus'/><category term='dream catcher'/><category term='2008'/><category term='rant'/><category term='patch'/><category term='engagement'/><category term='facebook'/><category term='PSG Tech'/><category term='workshop'/><category term='pregnant'/><category term='tamil'/><category term='Ad'/><category term='TNF'/><category term='Virginia'/><category term='lalbagh'/><category term='bokeh'/><category term='farewell'/><category term='Christmas'/><category term='cartoon'/><category term='contacts'/><category term='IPL'/><category term='FOSS'/><category term='wimbledon'/><category term='Karwar'/><category term='policy'/><category term='tiger'/><category term='barcampbangalore5'/><category term='oats'/><category term='australia'/><category term='rain'/><category term='tnstc'/><category term='AdSense'/><category term='paint ball'/><category term='anniversary'/><category term='favourites'/><category term='flickr'/><category term='festival'/><category term='sweet'/><category term='design'/><category term='wonder la'/><category term='TFN'/><category term='nikon'/><category term='love'/><category term='fwd'/><category term='transcripts'/><category term='svn'/><category term='google'/><category term='tennis'/><category term='cooking'/><category term='podcast'/><category term='Microsoft'/><category term='narration'/><category term='nolabel'/><category term='prose'/><category term='Lightning'/><category term='song'/><category term='ticket'/><category term='batchday'/><category term='live blogging'/><category term='tag'/><category term='IE 8'/><category term='status msg'/><category term='inspiration'/><category term='photograph I like'/><category term='olympics'/><category term='Coimbatore'/><category term='internet Explorer'/><category term='DPS'/><category term='animation'/><category term='softies2k4'/><category term='new year'/><category term='barcampbangalore4'/><category term='mom'/><category term='irctc'/><category term='code'/><category term='bangalore life'/><category term='JR'/><category term='ring'/><category term='comments'/><category term='update'/><category term='ashes'/><category term='School'/><category term='codejam'/><category term='hack'/><category term='BL-5C'/><category term='orkut'/><category term='election'/><category term='login'/><category term='photography'/><category term='Office'/><category term='photoshop'/><category term='howto'/><category term='awesome'/><category term='WordPress'/><category term='bcb4'/><category term='scm'/><category term='niece'/><category term='ksrtc'/><category term='music'/><category term='Steve Irwin'/><category term='Microsoft Surface'/><category term='ground zero'/><category term='Nadal'/><category term='nephew'/><category term='recipe'/><category term='december'/><category term='Crocodile hunter'/><category term='twitter'/><category term='smoking'/><category term='organising'/><category term='softies2k2'/><category term='corporate life'/><category term='holi'/><category term='BlogPost'/><category term='TouroFNilgiris'/><category term='phrase'/><category term='ellen'/><category term='TED'/><category term='gmail'/><category term='Personal'/><category term='Novell'/><category term='funny'/><category term='commercial'/><category term='discount'/><category term='comic'/><category term='storage'/><category term='gift'/><category term='art'/><category term='Dandiya'/><category term='puzzle'/><category term='astrology'/><category term='Randy Pausch'/><category term='Balancing Act'/><category term='bike'/><category term='google docs'/><category term='Palolem'/><category term='society'/><category term='Travel'/><category term='teacher'/><category term='tips'/><category term='family'/><category term='ethnic'/><category term='sports'/><category term='planner'/><category term='citation'/><category term='advertisement'/><category term='Fiction'/><category term='kumara parvatha'/><category term='bangalorephotographyclub'/><category term='story'/><category term='promotional'/><category term='Travelling'/><category term='reviews'/><category term='lost'/><category term='flower show'/><category term='LoL'/><category term='Nokia'/><category term='Bagmane'/><category term='dream'/><category term='india'/><category term='mafia game'/><category term='links'/><category term='profession'/><category term='fortune'/><category term='drinking'/><category term='chennai'/><category term='ELCOT'/><category term='wayanad'/><category term='Go Green'/><category term='BCB5'/><category term='movie'/><category term='Bangalore'/><category term='transcript'/><category term='baby'/><category term='software'/><category term='f***'/><category term='busy'/><category term='remix'/><category term='blast'/><category term='flowers'/><category term='testing'/><category term='release'/><category term='musings'/><category term='studio'/><category term='hospital'/><category term='Introduction'/><category term='alternate'/><category term='openSUSE 11.0'/><category term='yahoo'/><category term='Technology'/><category term='monday'/><category term='webportal'/><category term='restaurant'/><category term='2011'/><category term='cricket'/><category term='Friends'/><category term='change'/><category term='social'/><category term='marriage'/><category term='elephants'/><category term='winter'/><category term='weddingpreparations'/><category term='ROFL'/><category term='trek'/><category term='sex'/><category term='england'/><category term='emotions'/><category term='diwali'/><category term='feedback'/><category term='picture'/><category term='toy'/><category term='analysis'/><category term='domca'/><category term='internet'/><category term='script'/><category term='football'/><category term='FOM'/><category term='robbery'/><category term='Airtel'/><category term='linux'/><category term='Mobile'/><category term='cvs'/><category term='readers'/><category term='recession'/><category term='birthday'/><category term='Federer'/><category term='guestpost'/><category term='congrats'/><category term='vacation'/><category term='openSUSE 11.2'/><category term='laddu'/><category term='Photosynth'/><category term='random'/><category term='2010'/><category term='card'/><category term='games'/><category term='break'/><category term='epl'/><category term='blog'/><category term='nostalgic'/><category term='learn'/><category term='trip'/><category term='life'/><category term='spoof'/><category term='june 21'/><category term='broadcast'/><category term='tamil film'/><category term='parents'/><category term='Algorithm'/><category term='blogger'/><category term='notag'/><category term='food'/><category term='search'/><category term='poetry'/><category term='yuva'/><category term='Skandagiri'/><category term='zenworks'/><category term='sambar'/><category term='traffic'/><category term='f1'/><title type='text'>Comments on ScribblinG: Puzzle: Help Jim</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.vijesh.in/feeds/892153916866155203/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default'/><link rel='alternate' type='text/html' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html'/><author><name>Vijesh</name><uri>http://www.blogger.com/profile/18155433751670204131</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_IcU2ceot_W4/SnUsnJ19l5I/AAAAAAAAJx4/busthVuWT5U/S220/vijesh-mirror.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-16805286.post-6210797764900204214</id><published>2011-02-18T12:44:04.975+05:30</published><updated>2011-02-18T12:44:04.975+05:30</updated><title type='text'>@Ramkumar Yup that was a bug, thanks for pointing ...</title><content type='html'>@Ramkumar Yup that was a bug, thanks for pointing it.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/6210797764900204214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/6210797764900204214'/><link rel='alternate' type='text/html' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html?showComment=1298013244975#c6210797764900204214' title=''/><author><name>Vijesh</name><uri>http://www.blogger.com/profile/18155433751670204131</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_IcU2ceot_W4/SnUsnJ19l5I/AAAAAAAAJx4/busthVuWT5U/S220/vijesh-mirror.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html' ref='tag:blogger.com,1999:blog-16805286.post-892153916866155203' source='http://www.blogger.com/feeds/16805286/posts/default/892153916866155203' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-426265848'/></entry><entry><id>tag:blogger.com,1999:blog-16805286.post-8119566290958619535</id><published>2011-02-18T12:29:34.664+05:30</published><updated>2011-02-18T12:29:34.664+05:30</updated><title type='text'>Correct me if I am wrong, but Vijesh, should not t...</title><content type='html'>Correct me if I am wrong, but Vijesh, should not the code have another line: &lt;br /&gt;reminder = a%b, after you reinitialize a as a = reminder*10 ;&lt;br /&gt;&lt;br /&gt;Otherwise no matter what the loop will run only once because reminder is already added to the Hash Set.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/8119566290958619535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/8119566290958619535'/><link rel='alternate' type='text/html' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html?showComment=1298012374664#c8119566290958619535' title=''/><author><name>Ramkumar</name><uri>http://www.blogger.com/profile/09677486810553712944</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html' ref='tag:blogger.com,1999:blog-16805286.post-892153916866155203' source='http://www.blogger.com/feeds/16805286/posts/default/892153916866155203' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1790184498'/></entry><entry><id>tag:blogger.com,1999:blog-16805286.post-8810069317530388331</id><published>2011-02-15T20:07:33.060+05:30</published><updated>2011-02-15T20:07:33.060+05:30</updated><title type='text'>Spot on Vijesh - the same remainder is the key. :)...</title><content type='html'>Spot on Vijesh - the same remainder is the key. :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/8810069317530388331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/8810069317530388331'/><link rel='alternate' type='text/html' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html?showComment=1297780653060#c8810069317530388331' title=''/><author><name>The Visitor</name><uri>http://www.blogger.com/profile/06379204603893147923</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_7HFO8GgeVzs/SWGJV4jL_GI/AAAAAAAAABI/hj9L-sxiXBw/S220/visitor1-128.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html' ref='tag:blogger.com,1999:blog-16805286.post-892153916866155203' source='http://www.blogger.com/feeds/16805286/posts/default/892153916866155203' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-989536816'/></entry><entry><id>tag:blogger.com,1999:blog-16805286.post-3384591620970878822</id><published>2011-02-15T15:48:31.340+05:30</published><updated>2011-02-15T15:48:31.340+05:30</updated><title type='text'>Finding Q would be straight forward. Now for the r...</title><content type='html'>Finding Q would be straight forward. Now for the reminder part (D), keep iterating until the reminder number reccurs, that will help in identifying the recurring decimal number.&lt;br /&gt;Something like 4/3 will give 1 as reminder first, then again it will give reminder 1. So how many times we repeatedly divide 1 it will give the same recurring pattern. For this one needs to remember the reminders that occurred previously.&lt;br /&gt;&lt;br /&gt;HashSet hSet = new HashSet();&lt;br /&gt;int reminder = a%b;&lt;br /&gt;while(!hSet.contains(reminder)) {&lt;br /&gt; hSet.add(reminder);&lt;br /&gt; a = reminder * 10;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Let me know if there is a better solution.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/3384591620970878822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/3384591620970878822'/><link rel='alternate' type='text/html' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html?showComment=1297765111340#c3384591620970878822' title=''/><author><name>Vijesh</name><uri>http://www.blogger.com/profile/18155433751670204131</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_IcU2ceot_W4/SnUsnJ19l5I/AAAAAAAAJx4/busthVuWT5U/S220/vijesh-mirror.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html' ref='tag:blogger.com,1999:blog-16805286.post-892153916866155203' source='http://www.blogger.com/feeds/16805286/posts/default/892153916866155203' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-426265848'/></entry><entry><id>tag:blogger.com,1999:blog-16805286.post-3884433723468950162</id><published>2011-02-13T14:35:38.825+05:30</published><updated>2011-02-13T14:35:38.825+05:30</updated><title type='text'>If

 A / B = Q.D

where a and b are 2 + integers
Q...</title><content type='html'>If&lt;br /&gt;&lt;br /&gt; A / B = Q.D&lt;br /&gt;&lt;br /&gt;where a and b are 2 + integers&lt;br /&gt;Q is the integer part of the result and D the decimal part of the result.&lt;br /&gt;&lt;br /&gt;Prob spec. Write a program that will accept 2 integers A and B as input and print Q.D and terminate with a newline. If D is a recurring decimal  print the recurring part only once.&lt;br /&gt;&lt;br /&gt;examples:&lt;br /&gt;a=10 b=5 Q.D = 2.0&lt;br /&gt;a=5 b=2 Q.D = 2.5&lt;br /&gt;a=10 b=6 Q.D = 1.6&lt;br /&gt;a=7 b=6 Q.D = 1.16&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Pseudocode is fine, C or Java for implementation.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/3884433723468950162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/3884433723468950162'/><link rel='alternate' type='text/html' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html?showComment=1297587938825#c3884433723468950162' title=''/><author><name>The Visitor</name><uri>http://www.blogger.com/profile/06379204603893147923</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_7HFO8GgeVzs/SWGJV4jL_GI/AAAAAAAAABI/hj9L-sxiXBw/S220/visitor1-128.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html' ref='tag:blogger.com,1999:blog-16805286.post-892153916866155203' source='http://www.blogger.com/feeds/16805286/posts/default/892153916866155203' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-989536816'/></entry><entry><id>tag:blogger.com,1999:blog-16805286.post-6898245475333063308</id><published>2011-02-13T11:18:11.470+05:30</published><updated>2011-02-13T11:18:11.470+05:30</updated><title type='text'>The Visitor, that&amp;#39;s right.</title><content type='html'>The Visitor, that&amp;#39;s right.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/6898245475333063308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/6898245475333063308'/><link rel='alternate' type='text/html' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html?showComment=1297576091470#c6898245475333063308' title=''/><author><name>Vijesh</name><uri>http://www.blogger.com/profile/18155433751670204131</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_IcU2ceot_W4/SnUsnJ19l5I/AAAAAAAAJx4/busthVuWT5U/S220/vijesh-mirror.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html' ref='tag:blogger.com,1999:blog-16805286.post-892153916866155203' source='http://www.blogger.com/feeds/16805286/posts/default/892153916866155203' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-426265848'/></entry><entry><id>tag:blogger.com,1999:blog-16805286.post-3859569806029321994</id><published>2011-02-12T21:42:12.650+05:30</published><updated>2011-02-12T21:42:12.650+05:30</updated><title type='text'>Correction:
&lt;i&gt;... in a sequence of 3 continuous n...</title><content type='html'>Correction:&lt;br /&gt;&lt;i&gt;... in a sequence of 3 continuous numbers atleast one will be divisible by 3 ...&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;to be read as:&lt;br /&gt;&lt;br /&gt;... in a sequence of 3 continuous numbers  one will be divisible by 3 ...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/3859569806029321994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/3859569806029321994'/><link rel='alternate' type='text/html' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html?showComment=1297527132650#c3859569806029321994' title=''/><author><name>The Visitor</name><uri>http://www.blogger.com/profile/06379204603893147923</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_7HFO8GgeVzs/SWGJV4jL_GI/AAAAAAAAABI/hj9L-sxiXBw/S220/visitor1-128.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html' ref='tag:blogger.com,1999:blog-16805286.post-892153916866155203' source='http://www.blogger.com/feeds/16805286/posts/default/892153916866155203' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-989536816'/></entry><entry><id>tag:blogger.com,1999:blog-16805286.post-7838292871422059269</id><published>2011-02-12T21:35:37.751+05:30</published><updated>2011-02-12T21:35:37.751+05:30</updated><title type='text'>That the number will be divisible by 2 is obvious,...</title><content type='html'>That the number will be divisible by 2 is obvious, because every 2nd number will be divisible by 2. As the previous and next numbers are primes the middle number will be divisible by 2.&lt;br /&gt;&lt;br /&gt;Similarly the number will be divisible by 3 because in a sequence of 3 continuous numbers atleast one will be divisible by 3. By the same argument as above the middle number will be divisible by 3. &lt;br /&gt;&lt;br /&gt;Any number divisible by both 2 and 3 &lt;i&gt;will&lt;/i&gt; be divisible by 6.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/7838292871422059269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16805286/892153916866155203/comments/default/7838292871422059269'/><link rel='alternate' type='text/html' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html?showComment=1297526737751#c7838292871422059269' title=''/><author><name>The Visitor</name><uri>http://www.blogger.com/profile/06379204603893147923</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_7HFO8GgeVzs/SWGJV4jL_GI/AAAAAAAAABI/hj9L-sxiXBw/S220/visitor1-128.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vijesh.in/2011/02/puzzle-help-jim.html' ref='tag:blogger.com,1999:blog-16805286.post-892153916866155203' source='http://www.blogger.com/feeds/16805286/posts/default/892153916866155203' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-989536816'/></entry></feed>
