<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 22:14:33 +0000</lastBuildDate>
    <item>
      <title>(C) Standard Input in different languages - ariellephan</title>
      <link>https://snipplr.com/view/61941/standard-input-in-different-languages</link>
      <description>&lt;p&gt;Other languages are included as well&lt;/p&gt;</description>
      <pubDate>Sat, 17 Dec 2011 10:21:30 UTC</pubDate>
      <guid>https://snipplr.com/view/61941/standard-input-in-different-languages</guid>
    </item>
    <item>
      <title>(Ruby) Function as Procedure in Method called on Hashes - ariellephan</title>
      <link>https://snipplr.com/view/61875/function-as-procedure-in-method-called-on-hashes</link>
      <description>&lt;p&gt;Learn Ruby the Hard Way&lt;/p&gt;</description>
      <pubDate>Wed, 14 Dec 2011 09:40:41 UTC</pubDate>
      <guid>https://snipplr.com/view/61875/function-as-procedure-in-method-called-on-hashes</guid>
    </item>
    <item>
      <title>(SQL) Select Zipcodes group by the first 3 digits and Export in Set - ariellephan</title>
      <link>https://snipplr.com/view/57169/select-zipcodes-group-by-the-first-3-digits-and-export-in-set</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 27 Jul 2011 02:40:11 UTC</pubDate>
      <guid>https://snipplr.com/view/57169/select-zipcodes-group-by-the-first-3-digits-and-export-in-set</guid>
    </item>
    <item>
      <title>(PHP) FizzBuzz with input from user - ariellephan</title>
      <link>https://snipplr.com/view/57069/fizzbuzz-with-input-from-user</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 23 Jul 2011 11:32:24 UTC</pubDate>
      <guid>https://snipplr.com/view/57069/fizzbuzz-with-input-from-user</guid>
    </item>
    <item>
      <title>(JavaScript) Tumblr Tag Cloud - ariellephan</title>
      <link>https://snipplr.com/view/55705/tumblr-tag-cloud</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 25 Jun 2011 21:05:26 UTC</pubDate>
      <guid>https://snipplr.com/view/55705/tumblr-tag-cloud</guid>
    </item>
    <item>
      <title>(Python) Determine whether a triangle can be built from a given set of edges - ariellephan</title>
      <link>https://snipplr.com/view/43036/determine-whether-a-triangle-can-be-built-from-a-given-set-of-edges</link>
      <description>&lt;p&gt;Task description:&#13;
&#13;
Write a function&#13;
int triangle(int[] A);&#13;
which given a zero-indexed array A of n integers returns 1 if there exists triple i,j,k (, ) such that:&#13;
&#13;
A[i] + A[j] &gt; A[k] &#13;
&#13;
A[i] + A[k] &gt; A[j] &#13;
&#13;
A[j] + A[k] &gt; A[i] &#13;
or returns 0 otherwise.&#13;
Examples: &#13;
For:&#13;
&#13;
A[0]=10, A[1]=2, A[2]=5, A[3]=1, A[4]=8, A[5]=20 &#13;
your function should return 1, since for i=0,j=2,k=4 all conditions are fullfiled (i.e. A[2]+A[4]&gt;A[0]).&#13;
For:&#13;
&#13;
A[0]=10, A[1]=50, A[2]=5, A[3]=1 &#13;
your function should return 0.&lt;/p&gt;</description>
      <pubDate>Wed, 27 Oct 2010 20:46:11 UTC</pubDate>
      <guid>https://snipplr.com/view/43036/determine-whether-a-triangle-can-be-built-from-a-given-set-of-edges</guid>
    </item>
    <item>
      <title>(Java) Equilibrium index - ariellephan</title>
      <link>https://snipplr.com/view/43030/equilibrium-index</link>
      <description>&lt;p&gt;Given an array A of N integers, equi(A) is any index i for which:&#13;
(1)  i is a valid index into A, i.e. 0 &lt;= i &lt; N&#13;
(2) The sum of integers preceding (but not including) i is equal to the sum of integers following (again not including) i. i.e.:&#13;
A[0]+A[1]+...+A[i-1] = A[i+1]+A[i+2]..+A[N-1]&#13;
&#13;
If there is no such index i, equi(A) = -1.&lt;/p&gt;</description>
      <pubDate>Wed, 27 Oct 2010 20:02:02 UTC</pubDate>
      <guid>https://snipplr.com/view/43030/equilibrium-index</guid>
    </item>
  </channel>
</rss>
