<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Chung Yau Choi on Medium]]></title>
        <description><![CDATA[Stories by Chung Yau Choi on Medium]]></description>
        <link>https://medium.com/@jeffersonchoi?source=rss-6110e477a854------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*678Nk0uapMUmgNKv.jpg</url>
            <title>Stories by Chung Yau Choi on Medium</title>
            <link>https://medium.com/@jeffersonchoi?source=rss-6110e477a854------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 06:39:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jeffersonchoi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Algorithm Challenge — Day 3 (Reverse String using reduce)]]></title>
            <link>https://medium.com/@jeffersonchoi/algorithm-challenge-day-3-reverse-string-using-reduce-a3cd3f3c7704?source=rss-6110e477a854------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3cd3f3c7704</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Chung Yau Choi]]></dc:creator>
            <pubDate>Sat, 25 Aug 2018 06:40:25 GMT</pubDate>
            <atom:updated>2018-08-25T06:40:25.474Z</atom:updated>
            <content:encoded><![CDATA[<p>// — — Directions<br>// Given a string, return a new string with the reversed<br>// order of characters<br>// — — Examples<br>// reverse(‘apple’) === ‘leppa’</p><p>Javascript:-</p><pre><strong>function</strong> reverse(str) {</pre><pre>    <strong>return</strong> str.split(&#39;&#39;).reduce((rev, char) =&gt; char + rev, &#39;&#39;);</pre><pre>}</pre><pre>module.exports = reverse;</pre><p>Ruby:-</p><pre><strong>def</strong> reverse_str(str)</pre><pre>    str.chars.reduce <strong>do</strong> |rev, char| <br>        char + rev<br>    <strong>end</strong></pre><pre><strong>end</strong></pre><p>Python:- (2.7 only)</p><pre><strong>def</strong> reverse_str(str):<br>    <br>    <strong>return</strong> reduce(lambda rev, char: char+ rev, str)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3cd3f3c7704" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Algorithm Challenge — Day 2 (Reverse String without using built-in reverse)]]></title>
            <link>https://medium.com/@jeffersonchoi/algorithm-challenge-day-2-reverse-string-without-using-built-in-reverse-75b18a9c9a67?source=rss-6110e477a854------2</link>
            <guid isPermaLink="false">https://medium.com/p/75b18a9c9a67</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Chung Yau Choi]]></dc:creator>
            <pubDate>Thu, 23 Aug 2018 18:41:38 GMT</pubDate>
            <atom:updated>2018-08-23T18:41:38.059Z</atom:updated>
            <content:encoded><![CDATA[<p>// — — Directions<br>// Given a string, return a new string with the reversed<br>// order of characters<br>// — — Example<br>// reverse(‘apple’) === ‘leppa’</p><p>Javascript:-</p><pre><strong>function</strong> reverse_str(str) {</pre><pre><strong>    let</strong> reversed = &#39;&#39;;</pre><pre><strong>    for</strong> (<strong>let</strong> character of str) {<br>      reversed = character + reversed;<br>     }</pre><pre><strong>    return</strong> reversed;</pre><pre>}</pre><pre>module.exports = reverse_str;</pre><p>Ruby:-</p><pre><strong>def</strong> reverse_str(str)</pre><pre>    empty_str = &#39;&#39;</pre><pre>    str.each_char do |char|</pre><pre>        empty_str = char + empty_str</pre><pre>    end</pre><pre>    empty_str</pre><pre><strong>end</strong></pre><p>Python:-</p><pre><strong>def</strong> reverse_str(str):</pre><pre>    <strong>return</strong>(str[::-1])</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75b18a9c9a67" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Algorithm Challenge — Day 1 (Reverse String using built-in reverse)]]></title>
            <link>https://medium.com/@jeffersonchoi/algorithm-challenge-day-1-reverse-string-c4635b90a385?source=rss-6110e477a854------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4635b90a385</guid>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Chung Yau Choi]]></dc:creator>
            <pubDate>Thu, 23 Aug 2018 08:17:57 GMT</pubDate>
            <atom:updated>2018-08-23T18:29:44.107Z</atom:updated>
            <content:encoded><![CDATA[<p>// — — Directions<br>// Given a string, return a new string with the reversed<br>// order of characters<br>// — — Example<br>// reverse(‘apple’) === ‘leppa’</p><p>Javascript:-</p><pre><strong>function</strong> reverse(str) {</pre><pre>    <strong>return</strong> str.split(&#39;&#39;).reverse().join(&#39;&#39;);</pre><pre>}</pre><pre>module.exports = reverse;</pre><p>Ruby:-</p><pre><strong>def</strong> reverse(str)</pre><pre>    str.reverse</pre><pre><strong>end</strong></pre><p>Python:-</p><pre><strong>def</strong> reverse(str):</pre><pre>    string <strong>=</strong> &quot;&quot;.join(reversed(str))</pre><pre><strong>    return</strong> string</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4635b90a385" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>