<?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 Helen Cho on Medium]]></title>
        <description><![CDATA[Stories by Helen Cho on Medium]]></description>
        <link>https://medium.com/@chocoga?source=rss-ffb1976f0922------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*bu4lYFGXP4Cc7WZvYLd0KA.png</url>
            <title>Stories by Helen Cho on Medium</title>
            <link>https://medium.com/@chocoga?source=rss-ffb1976f0922------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 14:50:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chocoga/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[Pacific Atlantic Water Flow]]></title>
            <link>https://medium.com/@chocoga/pacific-atlantic-water-flow-289082f9133c?source=rss-ffb1976f0922------2</link>
            <guid isPermaLink="false">https://medium.com/p/289082f9133c</guid>
            <category><![CDATA[blind75]]></category>
            <category><![CDATA[coding-interviews]]></category>
            <category><![CDATA[leetcode]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Helen Cho]]></dc:creator>
            <pubDate>Mon, 24 Apr 2023 22:39:02 GMT</pubDate>
            <atom:updated>2023-04-24T23:35:12.617Z</atom:updated>
            <content:encoded><![CDATA[<p>This one’s for all the visual folks out there.</p><p><a href="https://leetcode.com/problems/pacific-atlantic-water-flow/">417. Pacific Atlantic Water Flow</a></p><p>Yet <em>another</em> post about a Blind 75 Leetcode question 🙄</p><p>I had a difficult time understanding the problem statement and even understanding the incredible solutions out there. I decided it would make the most sense if I had a visual reference that illustrated the logic step-by-step.</p><p><em>If you’re looking for a code implementation, you won’t find that here. I focus solely on the search algorithm and what that looks like visually. There are a number of great resources out there that dive into the code solution.</em></p><h3>Approach</h3><p>We are given a matrix of numbers that represent height values. In this matrix, we’re looking for coordinates — row and column indices — of cells that allow water to flow to both Pacific and Atlantic oceans. These coordinates represent cells with the highest points on the island. Think of a topography map.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*20N2NYS_T0EiBtruVW_6ZQ.png" /><figcaption>Leetcode version of a topography map.</figcaption></figure><p>The initial reaction is to traverse the matrix and search neighboring cells for lower or equal height value per given cell. However, there is a better way to find such cells. Instead of searching for cells with highest heights and working down the land, we can start with cells closest to the oceans and work up the land. Since we’re moving up, we want to validate that a given cell is of higher or equal ground to the previous cell. Basically we’re moving up in elevation.</p><p>The algorithm is broken down into three parts:</p><ol><li>Validate cells that allow water to flow to Pacific Ocean</li><li>Validate cells that allow water to flow to Atlantic Ocean</li><li>Find cells that allow water to flow to both oceans</li></ol><h3>Visuals</h3><p>As promised, the diagrams.</p><h4>Part 1 — Water flow into the Pacific Ocean</h4><p>Let’s start checking which cells allow water to flow into the Pacific Ocean. For each cell in the <strong>first row</strong>, search its adjacent cells. Adjacent cells are to the north, south, east and west of a given cell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*HLLEVFR6AtggUaBc-dGAxg.png" /><figcaption>The first cell of the first row allows water flow to the Pacific Ocean on the northern side of the island.</figcaption></figure><p>Let’s take the first cell. We can compare its value to itself, since there is no previous cell value to compare against. Since 1 ≥ 1, it is valid.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*vmekZ6mYEf9TkiyYV6xWGQ.png" /><figcaption>Search adjacent cells that represent higher ground.</figcaption></figure><p>Search and check adjacent cells. In this case, there are only two cells within bounds (there are no cells to the north and west). These two cells are valid since 2 ≥ 1 and 3 ≥ 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*VXLWTN7XcCgD9pcLQof1bA.png" /><figcaption>Search adjacent cells that represent lower ground.</figcaption></figure><p>Search and check adjacent cells again. Let’s take cell with height 3. There are two adjacent cells with value 2. These cells are invalid since 2 ≯ 3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*i_4J5Z7t_y-AcgCHDNiocA.png" /><figcaption>Search adjacent cells that represent equal ground.</figcaption></figure><p>Let’s check the other adjacent cell with height 2. There are two adjacent cells that are valid, since 2 ≥ 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4LU8I314Yzcx-i15K-0M_Q.png" /><figcaption>Search, check, and repeat.</figcaption></figure><p>Keep the search going, checking all adjacent cells of valid cells until there are no more valid cells or we are out of bounds (in the ocean).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*yguFPKICAF5TnNIOJvGkcA.png" /><figcaption>Cells that allow water flow into the Pacific Ocean on the northern side.</figcaption></figure><p>By the time we finish checking the first row, we would have validated the cells in gray.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2bGP5HVMtX0cWTNl95KiUA.png" /><figcaption>Cells that allow water flow into the Pacific Ocean on the western side.</figcaption></figure><p>Do the same search for the <strong>first column</strong>. For each cell, search its adjacent cells. Some cells in the first column have been visited before, so we don’t check those cells.</p><p><em>Note that starting here, I no longer draw out each iteration per cell, but hopefully you get the idea.</em></p><p>We’re finished checking cells that allow water flow into the Pacific Ocean on the northern and western sides of the island.</p><h4>Part 2 — Water flow into the Atlantic Ocean</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BBvOpMqGUuRjwyX3L9FJUw.png" /><figcaption>Cells that allow water flow into the Atlantic Ocean on the southern side.</figcaption></figure><p>It’s time to check cells that allow water to flow into the Atlantic. We can start with the <strong>last row</strong> of cells. Remember that a cell is valid if it is higher or equal to previous cell height.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZCz2VSrax_z9aRYqEf_pRw.png" /><figcaption>Cells that allow water flow into the Atlantic Ocean on the eastern side.</figcaption></figure><p>Then check the cells in the <strong>last column</strong>.</p><p>At this point, we have marked all the cells that allow water to flow into the Pacific <em>and </em>Atlantic.</p><h4>Part 3 — Water flow to both oceans</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ym-oSJi1R1vp5IZTGqRWg.png" /></figure><p>This brings us back to the problem statement: which cells allow water flow into both the Pacific and Atlantic?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*KaLDegxS1sxg1iF8-FF52w.png" /><figcaption>The result — cells where its water can flow to both the Pacific and Atlantic Oceans.</figcaption></figure><p>Easy peasy. We can grab the common cells.</p><p>If you’ve made it this far, thanks for reading. This question made a lot more sense to me after drawing it out. Hopefully it helps someone else out there.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=289082f9133c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Illustrated Cover Letter]]></title>
            <link>https://medium.com/@chocoga/my-illustrated-cover-letter-4db321ae1b19?source=rss-ffb1976f0922------2</link>
            <guid isPermaLink="false">https://medium.com/p/4db321ae1b19</guid>
            <category><![CDATA[cover-letter]]></category>
            <category><![CDATA[bootcamp]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[career-change]]></category>
            <dc:creator><![CDATA[Helen Cho]]></dc:creator>
            <pubDate>Tue, 12 Jun 2018 22:17:46 GMT</pubDate>
            <atom:updated>2018-06-14T14:39:53.743Z</atom:updated>
            <content:encoded><![CDATA[<p>Last September, I decided to switch careers and apply to an accelerated coding program called <a href="https://www.c4q.nyc/accesscode/">Access Code</a> by Coalition for Queens (C4Q). This is the cover letter I used:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*toDre1o5umGUt_VhZi0peQ.jpeg" /></figure><p>These nine months have been a hell of a ride.</p><p>But here I am: a software developer.</p><h4>Edit</h4><p>I feel a reflection piece coming soon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4db321ae1b19" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lessons Learned From a Hackathon]]></title>
            <link>https://medium.com/@chocoga/lessons-learned-from-a-hackathon-d6efdcb93e84?source=rss-ffb1976f0922------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6efdcb93e84</guid>
            <category><![CDATA[software-developer]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[hackathons]]></category>
            <dc:creator><![CDATA[Helen Cho]]></dc:creator>
            <pubDate>Sun, 22 Apr 2018 14:10:31 GMT</pubDate>
            <atom:updated>2018-04-25T12:47:04.890Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CmVFy7cAxXaimJ_0ueYZoA.jpeg" /></figure><p>Before entering the tech industry, I imagined hackathons to be these massive, larger-than-life events that changed lives. I got to experience my first hackathon back in March. It was more or less what I imagined it to be: a massive, hectic event where developers of varying skill levels teamed up to build apps that solved a problem. This was something I enjoyed: working with others, designing a solution, and learning from my teammates. I enjoyed this so much that I quickly signed up for another.</p><p>Well, I attended my second hackathon this past weekend. My experience this time was vastly different. Here’s what I learned.</p><h3>Intense Devotion</h3><p>This hackathon, and all hackathons in general, require intense devotion. This particular event ran all weekend for 72 hours straight. The coordinators encouraged “hacking” fast and non-stop through the night. I was taken aback by this idea. I believe that a healthy balance in life is necessary no matter what it relates to: food, sleep, entertainment. The staff at my first hackathon emphasized the importance of rest and encouraged all participants to pace themselves. Their values were clear: focus on the participants’ well-being first and the products second. I didn’t realize how much I appreciated those valuesuntil after this weekend.</p><p>I’m all for dedication and devotion to a cause, but — as my mother used to say — health is wealth.</p><h3>Entrepreneurship</h3><p>The event fostered entrepreneurship and inspired the business-minded spirit. A lot of the challenges were focused around creating a new service that an existing platform could incorporate. Besides catering to the sponsors (who gave out awesome prizes), the challenges were meant to push our creative boundaries and churn out innovative ideas. Maybe these ideas could transform into something bigger — startups, companies, the next in line among the tech giants.</p><p>Some people are meant to run a business. I have no desire to start my own company, nor do I want to work for myself. I value maintenance and contribution over chasing a new venture. In this particular hackathon, I felt unfit and out of place.</p><h3>Disorganization</h3><p>Things that could go wrong did go wrong. The venue was not set up by starting time. The event started two hours late. As a result of being behind schedule, the host either cut people off while they were speaking or told the participants to “hurry it up.”</p><p>I understand that things could go wrong. We are human. We make mistakes. Stuff happens. But this was beyond chaotic, unorganized, and unprofessional.</p><h3>Bottom line: Expect the Unexpected</h3><p>I’m still new to finding my way around the tech industry. My main takeaway from this experience was discovering my identity within the industry. People talk about a right way to do tech: contribute to open source projects, tweet and tweet a lot, volunteer, mentor, organize meet-ups, work on side projects, attend hackathons, etc.</p><p>There’s also a healthy way to do this: be honest with myself, create a balance, stay true to who I am. I attend meet-ups, work on side projects, keep up with current tech news, design new ideas and products.</p><p>Not all hackathons are created the same, and not all hackathons are for everyone. I’ve learned to stick to the ones where their values align with my own.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6efdcb93e84" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>