<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;Dk4ER3s_cCp7ImA9WhRUFko.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531</id><updated>2012-01-27T06:35:06.548-08:00</updated><category term="v" /><category term="I" /><title>Antonio Gulli's coding playground</title><subtitle type="html">Random commentary about C++, STL, Boost, Perl, Python, Algorithms, Problem Solving and Web Search</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://codingplayground.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>1149</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/AntonioGullisCodingPlayground" /><feedburner:info uri="antoniogulliscodingplayground" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DUcDQHg4eSp7ImA9WhRUFEo.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-1498557380148310664</id><published>2012-01-24T23:37:00.000-08:00</published><updated>2012-01-24T23:37:51.631-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-24T23:37:51.631-08:00</app:edited><title>Books: "Cracking the coding interview"</title><content type="html">&lt;div style="background-color: white; font-family: verdana, arial, helvetica, sans-serif; font-size: small; padding-left: 2em;"&gt;&lt;div style="margin-left: 0.5em;"&gt;&lt;a href="http://www.amazon.com/Cracking-Coding-Interview-Programming-Questions/dp/098478280X/ref=sr_1_1?ie=UTF8&amp;amp;qid=1327474636&amp;amp;sr=8-1"&gt;Cracking the coding interview&lt;/a&gt; is one book you should definitively have in your bookshelf, and you should keep reading it now and then.&lt;br /&gt;
&lt;br /&gt;
I have a passion for reading and solving coding interview questions and never found such a detailed source of information.&lt;br /&gt;
&lt;br /&gt;
The book starts with several suggestions on how preparing yourself for an interview. This is an aspect that many people underestimate, whilst having a well-written CV, a personal blog, and possibly a number of open source projects is definitively important. This book gives you a number of good suggestions.&lt;br /&gt;
&lt;br /&gt;
Then there is long part discussing interview questions with a broad coverage of basic data structures, algorithms, programming languages, databases and threads and some advanced coding questions.&lt;br /&gt;
&lt;br /&gt;
The style is concise and you can read each Chapter in isolation. Gayle made an amazing job in illustrating not just the solutions, but several techniques that you can use for solving new problems. Plus, those interview questions, the solutions and the techniques, are not just hypothetical but are very useful in your day by day life as Dev or Researcher.&lt;br /&gt;
&lt;br /&gt;
I would suggest the author splitting the Chapter 7 "Mathematics and Probability" into two separate parts and expand both of them because they are very important during interviews and the current description is probably too synthetic. Also, a Chapter on String algorithms and another one on Parallel programming would be probably useful to have because people will look for them elsewhere.&lt;br /&gt;
&lt;br /&gt;
Having said that, this is definitively a must have book and the money you spend will definitively generate a great return on the investment.&lt;br /&gt;
&lt;br /&gt;
Thanks Gayle for writing it.&lt;div style="clear: both; padding-top: 10px; width: 558px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br class="Apple-interchange-newline" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-1498557380148310664?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/vji5J-Zmls0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/1498557380148310664/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2012/01/books-cracking-coding-interview.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/1498557380148310664?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/1498557380148310664?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/vji5J-Zmls0/books-cracking-coding-interview.html" title="Books: &quot;Cracking the coding interview&quot;" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>1</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2012/01/books-cracking-coding-interview.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUMQ309eyp7ImA9WhRUFUs.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-3792740830848285277</id><published>2012-01-07T23:33:00.000-08:00</published><updated>2012-01-25T23:34:42.363-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-25T23:34:42.363-08:00</app:edited><title>Compute if a number is a multiple of 5</title><content type="html">You can use just bit operations&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-3792740830848285277?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/R0UUMSVgFO8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/3792740830848285277/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2012/01/compute-if-number-is-multiple-of-5.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3792740830848285277?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3792740830848285277?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/R0UUMSVgFO8/compute-if-number-is-multiple-of-5.html" title="Compute if a number is a multiple of 5" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2012/01/compute-if-number-is-multiple-of-5.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IBQH45cSp7ImA9WhRUFUs.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-2740123829976903434</id><published>2012-01-07T00:11:00.000-08:00</published><updated>2012-01-26T00:12:31.029-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-26T00:12:31.029-08:00</app:edited><title>Discuss memory layout for C programs</title><content type="html">Ideally you should discuss all the different areas that are used&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-2740123829976903434?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/JazyrLHKoLg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/2740123829976903434/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2012/01/discuss-memory-layout-for-c-programs.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/2740123829976903434?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/2740123829976903434?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/JazyrLHKoLg/discuss-memory-layout-for-c-programs.html" title="Discuss memory layout for C programs" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2012/01/discuss-memory-layout-for-c-programs.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEADQXk6fSp7ImA9WhRUFUs.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-2620706115342090808</id><published>2012-01-06T23:24:00.000-08:00</published><updated>2012-01-25T23:26:10.715-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-25T23:26:10.715-08:00</app:edited><title>Find if there is a number duplicated in an array</title><content type="html">Good collection of different techniques. useful to &lt;a href="http://www.geeksforgeeks.org/archives/11946?utm_source=feedburner&amp;amp;utm_medium=email&amp;amp;utm_campaign=Feed%3A%20Geeksforgeeks%20%28GeeksforGeeks%29"&gt;know.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-2620706115342090808?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/BH4XWCyCl88" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/2620706115342090808/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2012/01/find-if-there-is-number-duplicated-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/2620706115342090808?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/2620706115342090808?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/BH4XWCyCl88/find-if-there-is-number-duplicated-in.html" title="Find if there is a number duplicated in an array" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2012/01/find-if-there-is-number-duplicated-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEHQHc8fyp7ImA9WhRUFUs.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-5266047934871904417</id><published>2012-01-05T23:13:00.000-08:00</published><updated>2012-01-25T23:23:51.977-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-25T23:23:51.977-08:00</app:edited><title>Let's talk about C++ const</title><content type="html">when and where do you use it?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-5266047934871904417?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/FF1H9xD942Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/5266047934871904417/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2012/01/lets-talk-about-c-const.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/5266047934871904417?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/5266047934871904417?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/FF1H9xD942Y/lets-talk-about-c-const.html" title="Let's talk about C++ const" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2012/01/lets-talk-about-c-const.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAHRXk-cSp7ImA9WhRWF00.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-3862839756790224518</id><published>2012-01-04T10:45:00.000-08:00</published><updated>2012-01-04T10:45:34.759-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-04T10:45:34.759-08:00</app:edited><title>Sphinx: open source search</title><content type="html">&lt;a href="http://sphinxsearch.com/about/sphinx/"&gt;Sphinxsearch&lt;/a&gt;&amp;nbsp;is a scalable open source search server that&amp;nbsp;seamlessly&amp;nbsp;integrates with Mysql. Documents are stored in mysql and the server creates its own external indices. The index and search&amp;nbsp;performance&amp;nbsp;are quite good (&lt;span style="background-color: white; font-family: Verdana; font-size: 13px;"&gt;60+ MB/sec per server,&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: white; font-family: Verdana; font-size: 13px;"&gt;500+ queries/sec),&amp;nbsp;&lt;/span&gt;&amp;nbsp;and the server allows to easily extend your own ranking functions. A &lt;a href="http://sphinxsearch.com/docs/2.0.2/sphinxql-reference.html"&gt;sql-like&lt;/a&gt; language is supported for searching. Apparently, the largest cluster of sphinx servers is currently indexing 3billions of documents and it serves 50M queries per day. An interesting feature I am going to use is the ability to search all the geo-points within a fixed radius.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-3862839756790224518?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/ERxFJ8HLgdg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/3862839756790224518/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2012/01/sphinx-open-source-search.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3862839756790224518?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3862839756790224518?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/ERxFJ8HLgdg/sphinx-open-source-search.html" title="Sphinx: open source search" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2012/01/sphinx-open-source-search.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UFQ3kycSp7ImA9WhRWF00.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-809533895959743878</id><published>2012-01-03T11:26:00.000-08:00</published><updated>2012-01-04T11:26:52.799-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-04T11:26:52.799-08:00</app:edited><title>News dataset</title><content type="html">Republishing my link to the open collection of news articles.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;small&gt;&lt;a href="http://www.di.unipi.it/~gulli/AG_corpus_of_news_articles.html"&gt;AG's corpus of news articles&lt;/a&gt;&lt;/small&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-809533895959743878?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/rgm47i7HXzA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/809533895959743878/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2012/01/news-dataset.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/809533895959743878?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/809533895959743878?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/rgm47i7HXzA/news-dataset.html" title="News dataset" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2012/01/news-dataset.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUcBRXc6eSp7ImA9WhRWFkg.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-4442525143729495843</id><published>2012-01-02T22:03:00.000-08:00</published><updated>2012-01-03T22:04:14.911-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-03T22:04:14.911-08:00</app:edited><title>Openlayer: an example of geo-location</title><content type="html">&lt;iframe src="http://www.openlayers.org/dev/examples/geolocation.html" width="500" height="400" frameborder=0&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-4442525143729495843?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/9XegM61hnq4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/4442525143729495843/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2012/01/example-of-geo-location.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/4442525143729495843?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/4442525143729495843?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/9XegM61hnq4/example-of-geo-location.html" title="Openlayer: an example of geo-location" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2012/01/example-of-geo-location.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEADRXY8fyp7ImA9WhRWFkg.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-7737568299017535445</id><published>2012-01-01T21:56:00.000-08:00</published><updated>2012-01-03T21:59:34.877-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-03T21:59:34.877-08:00</app:edited><title>Openlayer an example of map switching</title><content type="html">&lt;iframe src="http://209.139.208.251/openlayer.html" width="500" height="400" frameborder=0&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-7737568299017535445?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/DLJ5me-X_Bc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/7737568299017535445/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2012/01/openlayer-example-of-map-switching.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/7737568299017535445?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/7737568299017535445?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/DLJ5me-X_Bc/openlayer-example-of-map-switching.html" title="Openlayer an example of map switching" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2012/01/openlayer-example-of-map-switching.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4CSX0yfSp7ImA9WhRWFkg.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-4081448311378260917</id><published>2011-12-17T21:23:00.000-08:00</published><updated>2012-01-03T21:29:28.395-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-03T21:29:28.395-08:00</app:edited><title>Openlayer</title><content type="html">Openlayer offers a programmatic way for accessing bing, google, yahoo and other maps system with one &lt;a href="http://www.openlayers.org/dev/examples/"&gt;javascript api&lt;/a&gt;. I am using it for my next playground project.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-4081448311378260917?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/Z4GDPi_KfNc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/4081448311378260917/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/openlayer.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/4081448311378260917?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/4081448311378260917?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/Z4GDPi_KfNc/openlayer.html" title="Openlayer" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/openlayer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcGRXsyfSp7ImA9WhRWFkg.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-9043709477735720793</id><published>2011-12-16T21:09:00.000-08:00</published><updated>2012-01-03T21:13:44.595-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-03T21:13:44.595-08:00</app:edited><title>Points of Interest</title><content type="html">&lt;a href="http://planet.openstreetmap.org/"&gt;Openstreetmap&lt;/a&gt;&amp;nbsp;has a collection of 2.5M points of interest&amp;nbsp;distributed&amp;nbsp;world wide. I am using them for my next playground project.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-9043709477735720793?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/ca_5AILA2G4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/9043709477735720793/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/points-of-interest.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/9043709477735720793?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/9043709477735720793?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/ca_5AILA2G4/points-of-interest.html" title="Points of Interest" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/points-of-interest.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIDQ3s6cSp7ImA9WhRQGUg.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-4196185311336419411</id><published>2011-12-15T05:59:00.001-08:00</published><updated>2011-12-15T05:59:32.519-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-15T05:59:32.519-08:00</app:edited><title>(n &amp; (n-1)) =- 0</title><content type="html">&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-4196185311336419411?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/o7yawhA91pY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/4196185311336419411/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/n-n-1-0.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/4196185311336419411?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/4196185311336419411?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/o7yawhA91pY/n-n-1-0.html" title="(n &amp; (n-1)) =- 0" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/n-n-1-0.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUHQn05eyp7ImA9WhRQGEQ.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-7190175518033767077</id><published>2011-12-14T13:30:00.000-08:00</published><updated>2011-12-14T13:30:33.323-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-14T13:30:33.323-08:00</app:edited><title>Check if a list of characters is palidrome</title><content type="html">It would be easy to compare it if you have an array, some additional difficulties because you have a list. Not that much.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-7190175518033767077?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/jlgOo2FE5W8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/7190175518033767077/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/check-if-list-of-characters-is.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/7190175518033767077?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/7190175518033767077?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/jlgOo2FE5W8/check-if-list-of-characters-is.html" title="Check if a list of characters is palidrome" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/check-if-list-of-characters-is.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMDQnkycSp7ImA9WhRQGEU.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-5308229436392084644</id><published>2011-12-14T09:41:00.000-08:00</published><updated>2011-12-14T09:41:13.799-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-14T09:41:13.799-08:00</app:edited><title>Given a string s and a regular expression r match the regular expression</title><content type="html">Supported operators :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&amp;nbsp;^, match the beginning of the string&lt;/li&gt;
&lt;li&gt;$, match the end of string&lt;/li&gt;
&lt;li&gt;* match a sequence of characters&lt;/li&gt;
&lt;li&gt;[a-z][A-Z] matches the&amp;nbsp;correspondent&amp;nbsp;character&lt;/li&gt;
&lt;li&gt;Assume that there are no parenthesis&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;Solution&lt;/div&gt;&lt;div&gt;this is an interesting application of recursion&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-5308229436392084644?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/2Jy4IeJmNyU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/5308229436392084644/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/given-string-s-and-regular-expression-r.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/5308229436392084644?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/5308229436392084644?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/2Jy4IeJmNyU/given-string-s-and-regular-expression-r.html" title="Given a string s and a regular expression r match the regular expression" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/given-string-s-and-regular-expression-r.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYAQXkyfSp7ImA9WhRQGE0.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-3322541468144703755</id><published>2011-12-13T10:49:00.000-08:00</published><updated>2011-12-13T10:49:00.795-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-13T10:49:00.795-08:00</app:edited><title>Subsequence</title><content type="html">Find the maximum sum of a sub-sequence from an positive integer array where any two numbers of sub-sequence are not adjacent to each other in the original sequence&lt;br /&gt;
&lt;br /&gt;
Solution&lt;br /&gt;
Max(i) = max(Ni + Max(i+2), Max(i + 1)) foreach i&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-3322541468144703755?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/UAwzfr1OKTM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/3322541468144703755/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/subsequence.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3322541468144703755?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3322541468144703755?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/UAwzfr1OKTM/subsequence.html" title="Subsequence" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/subsequence.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0AASX07fyp7ImA9WhRQGE8.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-2792162368765941076</id><published>2011-12-12T17:20:00.000-08:00</published><updated>2011-12-13T17:22:28.307-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-13T17:22:28.307-08:00</app:edited><title>Compute n to the power of m</title><content type="html">You can make it in log (m) and that's a nice thing. X^8= (X^2)^4 so i can actually reduce the size by half at each step. Anyway if n is odd there is the need of an additional multiplication X^9=X * (X^8).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-2792162368765941076?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/ulT_RBmKB_g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/2792162368765941076/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/compute-n-to-power-of-m.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/2792162368765941076?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/2792162368765941076?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/ulT_RBmKB_g/compute-n-to-power-of-m.html" title="Compute n to the power of m" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/compute-n-to-power-of-m.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQMQXs6eyp7ImA9WhRQGE8.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-3270589346416679860</id><published>2011-12-12T15:47:00.000-08:00</published><updated>2011-12-13T15:53:00.513-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-13T15:53:00.513-08:00</app:edited><title>Compute (n k)</title><content type="html">The solution to this should be recursive and similar to the classical fibonacci one,&lt;br /&gt;
given that (n k) = (n-1 k-1) (n-1 k)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-3270589346416679860?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/7eqE9eNFKoc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/3270589346416679860/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/compute-n-k.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3270589346416679860?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3270589346416679860?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/7eqE9eNFKoc/compute-n-k.html" title="Compute (n k)" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/compute-n-k.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkACQXg4fCp7ImA9WhRQFkw.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-6057134986378670032</id><published>2011-12-11T06:39:00.000-08:00</published><updated>2011-12-11T07:52:40.634-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-11T07:52:40.634-08:00</app:edited><title>A couple of new features to PicPlacer</title><content type="html">Mario added a couple of new features to PicPlacer (I wanted to have more time to work on this myself). Now it's possible to tag a whole album with a location and to search locations.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-FiF10SPAoRw/TuTAOQ5y1vI/AAAAAAAAAYI/PXIz160fiQ4/s1600/pisa.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="241" src="http://4.bp.blogspot.com/-FiF10SPAoRw/TuTAOQ5y1vI/AAAAAAAAAYI/PXIz160fiQ4/s400/pisa.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-GTpUu9V1CNg/TuTAe0rl5HI/AAAAAAAAAYQ/XBYgEI0du70/s1600/cardinal+place.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="242" src="http://4.bp.blogspot.com/-GTpUu9V1CNg/TuTAe0rl5HI/AAAAAAAAAYQ/XBYgEI0du70/s400/cardinal+place.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-6057134986378670032?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/QgtheSiFWcM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/6057134986378670032/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/couple-of-new-feature-to-picplacer.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/6057134986378670032?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/6057134986378670032?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/QgtheSiFWcM/couple-of-new-feature-to-picplacer.html" title="A couple of new features to PicPlacer" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-FiF10SPAoRw/TuTAOQ5y1vI/AAAAAAAAAYI/PXIz160fiQ4/s72-c/pisa.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/couple-of-new-feature-to-picplacer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYCSX44fip7ImA9WhRQFkw.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-6064968392099300151</id><published>2011-12-10T06:40:00.000-08:00</published><updated>2011-12-11T07:09:28.036-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-11T07:09:28.036-08:00</app:edited><title>A robot is moving in a rectangular board</title><content type="html">It can move either down or right and the board is N x M. How many path does the robot have?&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
&lt;br /&gt;
Steps are N+M and we can chose N, so ( N+M &amp;nbsp;N) is the binomial factor we are looking for.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-6064968392099300151?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/pH4bbIiKw5E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/6064968392099300151/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/robot-is-moving-in-rectangular-board.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/6064968392099300151?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/6064968392099300151?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/pH4bbIiKw5E/robot-is-moving-in-rectangular-board.html" title="A robot is moving in a rectangular board" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/robot-is-moving-in-rectangular-board.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUAQ3gzfCp7ImA9WhRQFkw.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-3608638575106615668</id><published>2011-12-09T06:40:00.000-08:00</published><updated>2011-12-11T07:10:42.684-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-11T07:10:42.684-08:00</app:edited><title>A children can hop either 1, 2, or 3 steps in a stairway of N steps.</title><content type="html">How many combinations do you have?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-3608638575106615668?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/ZB4YOJe703Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/3608638575106615668/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/children-can-hop-either-1-2-or-3-steps.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3608638575106615668?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3608638575106615668?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/ZB4YOJe703Q/children-can-hop-either-1-2-or-3-steps.html" title="A children can hop either 1, 2, or 3 steps in a stairway of N steps." /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>1</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/children-can-hop-either-1-2-or-3-steps.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQHR3k4eCp7ImA9WhRQFkw.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-6934652678665785314</id><published>2011-12-08T06:40:00.000-08:00</published><updated>2011-12-11T07:12:16.730-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-11T07:12:16.730-08:00</app:edited><title>Design a smart pointer in C++</title><content type="html">Solution Draft:&lt;br /&gt;
&lt;br /&gt;
reference counter should be shared among all the instance of the pointers referring to the same object. So it's better to dynamically allocate a pointer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-6934652678665785314?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/0j_dEqjg4R4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/6934652678665785314/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/design-smart-pointer-in-c.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/6934652678665785314?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/6934652678665785314?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/0j_dEqjg4R4/design-smart-pointer-in-c.html" title="Design a smart pointer in C++" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>4</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/design-smart-pointer-in-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYNQHw8fCp7ImA9WhRQEkk.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-2690318924810445998</id><published>2011-12-07T00:23:00.003-08:00</published><updated>2011-12-07T00:23:11.274-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-07T00:23:11.274-08:00</app:edited><title>Given a list and a pointer to a node delete that node.</title><content type="html">&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-2690318924810445998?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/t3LgW9RQBHc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/2690318924810445998/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/given-list-and-pointer-to-node-delete.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/2690318924810445998?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/2690318924810445998?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/t3LgW9RQBHc/given-list-and-pointer-to-node-delete.html" title="Given a list and a pointer to a node delete that node." /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>4</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/given-list-and-pointer-to-node-delete.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EDQnoycSp7ImA9WhRQFk4.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-5840964898104056740</id><published>2011-12-06T06:40:00.000-08:00</published><updated>2011-12-11T12:34:33.499-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-11T12:34:33.499-08:00</app:edited><title>Generate all the valid parenthesis for a string whose length is n</title><content type="html">Solution:&lt;br /&gt;
&lt;br /&gt;
- left parenthesis ( is valid if we have any left&lt;br /&gt;
- right parenthesis ) is valid if we have any left and there is no&amp;nbsp;syntax&amp;nbsp;error&lt;br /&gt;
&lt;br /&gt;
An interesting problem is to validate a string made of parenthesis&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-5840964898104056740?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/SD9LoNDinrw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/5840964898104056740/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/generate-all-valid-parenthesis-for.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/5840964898104056740?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/5840964898104056740?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/SD9LoNDinrw/generate-all-valid-parenthesis-for.html" title="Generate all the valid parenthesis for a string whose length is n" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/generate-all-valid-parenthesis-for.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EDQng4eCp7ImA9WhRQFk4.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-3997841503169654955</id><published>2011-12-05T06:40:00.000-08:00</published><updated>2011-12-11T12:34:33.630-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-11T12:34:33.630-08:00</app:edited><title>Generate all the subsets of a given set</title><content type="html">This could be tricky unless you realize that given an set of size n there are 2^n subsets. An element can be in or out, so 0/1 and this means that you just need to generate all the binary numbers from 0 &amp;nbsp;to n. The binary representation of each number will tell you whether or not you need to include the element (bit i = 1 means element in).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-3997841503169654955?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/NtaqElLocu8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/3997841503169654955/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/generate-all-subsets-of-given-set.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3997841503169654955?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3997841503169654955?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/NtaqElLocu8/generate-all-subsets-of-given-set.html" title="Generate all the subsets of a given set" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>4</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/generate-all-subsets-of-given-set.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04NQ3Y9fSp7ImA9WhRQEE0.&quot;"><id>tag:blogger.com,1999:blog-6314876008291942531.post-3104703836927921656</id><published>2011-12-04T02:39:00.000-08:00</published><updated>2011-12-04T04:33:12.865-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-04T04:33:12.865-08:00</app:edited><title>Attaching a wall to physical locations: friendships is about sharing common experiences over the time</title><content type="html">How many times you go to a museum, see a painting and wanted to express your opinion about it? How many times you go to a new&amp;nbsp;restaurant, have a good dinner and wanted to leave a good comment about the chef? How many times you enjoy your night in that new pub and wanted to say this in public&amp;nbsp;and not just to your friends. How many times you are in a&amp;nbsp;physical&amp;nbsp;place and wanted to know what are the nice places to see in the nearby, and wanted read the opinions of the people who have been there before?&lt;br /&gt;
&lt;br /&gt;
Imagine a mashup between Bing (or Google) Maps and Facebook Wall. You can attach a Wall to any physical location in the map and you can immediately start commenting and leave your opinion in these walls. You go to see a movie and you can get the comments of the people who have been in the cinema before, and leave yours if you like. You just want to find good places for an hangout, well you take your mobile and the map will suggest where to go given the experiences of past people. Anyone, not just your already known friends.&lt;br /&gt;
&lt;br /&gt;
This will be an extension of current Facebook Wall.&lt;br /&gt;
&lt;br /&gt;
This is my current playground project. Reattach Walls to&amp;nbsp;physical&amp;nbsp;locations, and give the opportunity to different people to get in touch just because they share an experience in place and &lt;i&gt;not&lt;/i&gt;&amp;nbsp;because they are &lt;i&gt;already&lt;/i&gt;&amp;nbsp;friends. They don't need to be there at the same time, they just need to share the place.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314876008291942531-3104703836927921656?l=codingplayground.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/AntonioGullisCodingPlayground/~4/gXTef5k9ppo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://codingplayground.blogspot.com/feeds/3104703836927921656/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://codingplayground.blogspot.com/2011/12/attaching-wall-to-physical-locations.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3104703836927921656?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6314876008291942531/posts/default/3104703836927921656?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AntonioGullisCodingPlayground/~3/gXTef5k9ppo/attaching-wall-to-physical-locations.html" title="Attaching a wall to physical locations: friendships is about sharing common experiences over the time" /><author><name>codingplayground</name><uri>http://www.blogger.com/profile/08478993186814330588</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_ytulV26G9JA/TBkuNj8QAEI/AAAAAAAAANc/lJAR4RxVGXA/S220/me.png" /></author><thr:total>2</thr:total><feedburner:origLink>http://codingplayground.blogspot.com/2011/12/attaching-wall-to-physical-locations.html</feedburner:origLink></entry></feed>

