<?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 Van on Medium]]></title>
        <description><![CDATA[Stories by Van on Medium]]></description>
        <link>https://medium.com/@vanmarivan?source=rss-a2661ecfaec3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hWsv62UAroKboKvx7oP2hA.png</url>
            <title>Stories by Van on Medium</title>
            <link>https://medium.com/@vanmarivan?source=rss-a2661ecfaec3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 03:57:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vanmarivan/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[How I taught myself to code and landed a Software Engineer position in Silicon Valley after having…]]></title>
            <link>https://vanmarivan.medium.com/how-i-taught-myself-to-code-and-landed-a-software-engineer-position-in-silicon-valley-after-having-dd1db35d249f?source=rss-a2661ecfaec3------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd1db35d249f</guid>
            <category><![CDATA[codingbootcamp]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[self-taught-developer]]></category>
            <category><![CDATA[leetcode]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Van]]></dc:creator>
            <pubDate>Mon, 18 Jan 2021 20:19:22 GMT</pubDate>
            <atom:updated>2021-02-16T02:55:16.964Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I taught myself to code after having a baby and landed a Software Engineer position in Silicon Valley</h3><p>In 2018, I became a mother. That same year, I made the decision to quit my job as a technical writer and teach myself how to code, with the goal of becoming a software engineer, specifically a front end web developer.</p><p>My motivation for becoming a software engineer was my husband. We moved to Silicon Valley in 2015 specifically so he could attend a coding bootcamp in San Francisco. His 3-month-long bootcamp led him to land a job as a software engineer soon afterwards, even though he didn’t hold any computer science related degree. With his new profession as a software engineer, our quality of life improved. His new salary was 2.5 times what it was before. Even considering the high cost of living in the Bay Area and the fact that we moved here from Maryland, it was still an exciting step forward in life. Not to mention his new lifestyle as a software engineer allowed him flexible hours and the freedom to work from home several days a week. His flexible hours allowed him to take our baby to doctor appointments and deal with emergency situations, and this aspect of being a software engineer really attracted me.</p><p>His success was not unique among his coding bootcamp peers. In 2015, most of his cohorts landed software engineer positions shortly after graduating from the 3-month program. In 2018, though, when I finally decided to make the same leap, the market wasn’t quite as in demand for entry-level web developers.</p><p>I knew my career-changing path ahead would be rougher than my husband’s. So many bootcamps have popped out everywhere in the world over the past few years that the market was saturated with junior developers. I also knew that with a newborn baby, I didn’t have the stamina to go through the bootcamp experience my husband went through pre-child. At that time he left home around 7 AM and only came home around 10PM to go straight to bed. He did this 6 days a week for three months. Even if I could somehow muster the energy to make myself go through that, it would mean I would be almost completely absent from my daughter’s life for three months.</p><p>So I tried a different approach. I decided to take an online course and see if I could learn to code that way. I was not sure it would work, but I wouldn’t know till I tried. After some research, I picked a Udemy course that had really good reviews and was also incredibly cheap, compared to the 18,000USD my husband had spent on a coding bootcamp. My course cost $10.99. This is the course I took: <a href="https://www.udemy.com/course/the-complete-web-developer-zero-to-mastery/?LSNPUBID=CAEceHPefeY&amp;ranEAID=CAEceHPefeY&amp;ranMID=39197&amp;ranSiteID=CAEceHPefeY-VKQWvWmJnhVBuTMVS3v9xA">The Complete Web Developer in 2021: Zero to Mastery</a></p><p>It turned out to be a great investment. I loved the course, and though I supplemented my knowledge with freeCodeCamp, <a href="http://bit.ly/34UrjEe">LeetCode</a>, and <a href="https://www.udemy.com/course/master-the-coding-interview-data-structures-algorithms/?ranMID=39197&amp;ranEAID=CAEceHPefeY&amp;ranSiteID=CAEceHPefeY-ji23J251yPA8ArRDY2EL9g&amp;LSNPUBID=CAEceHPefeY">other Udemy courses</a>, <a href="https://www.udemy.com/course/the-complete-web-developer-zero-to-mastery/?LSNPUBID=CAEceHPefeY&amp;ranEAID=CAEceHPefeY&amp;ranMID=39197&amp;ranSiteID=CAEceHPefeY-VKQWvWmJnhVBuTMVS3v9xA">The Complete Web Developer in 2021: Zero to Mastery</a> helped my acquire 60% of the skills I needed to eventually land a full-time software engineer position in Silicon Valley. My journey from quitting my tech writer job, learning to code from zero, to landing a full-time software engineer position, all while having a newborn baby at home took a total of nine months.</p><p>Those nine months weren’t all smooth sailing. It involved a lot of tears and daily self-questioning. Was I cut out for this career? What if I just wasn’t smart enough to be a software engineer? But I applied and applied to job after job, long before I felt “prepared” in any way. At first I failed every interview, but I learned from my failures and worked on the technical questions I didn’t know how to answer. Slowly I began to get pass not only the initial recruiter screening, but also the technical phone interview, and moved to several on-site interviews that involved hard-core white board data structure and algorithm questions. Finally, I started getting offers, and eventually I landed my first full-time job as a software engineer in a Silicon Valley company.</p><p><a href="https://vanmarivan.medium.com/becoming-a-software-engineer-without-a-computer-science-degree-872d2f075612">Read this</a> for more on how I prepared for white board questions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd1db35d249f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Becoming a Software Engineer without a Computer Science Degree]]></title>
            <link>https://vanmarivan.medium.com/becoming-a-software-engineer-without-a-computer-science-degree-872d2f075612?source=rss-a2661ecfaec3------2</link>
            <guid isPermaLink="false">https://medium.com/p/872d2f075612</guid>
            <category><![CDATA[leetcode]]></category>
            <category><![CDATA[self-taught-developer]]></category>
            <category><![CDATA[software-engineer]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Van]]></dc:creator>
            <pubDate>Tue, 05 Jan 2021 01:42:35 GMT</pubDate>
            <atom:updated>2021-01-05T01:46:10.913Z</atom:updated>
            <content:encoded><![CDATA[<p>Becoming a Software Engineer without a Computer Science Degree</p><p>If you are preparing to interview for a software engineer/ data scientist position, chances are that you’re brushing up your data structure and algorithm skills. One of the leading websites to practice data structures and algorithm problems is LeetCode. TL;DR version of this post: <a href="http://bit.ly/34UrjEe">Use this link to get 15% off LeetCode Premium</a> ($135/yr subscription, after discount).</p><p>As someone who never studied computer science in school, here’s my take on what it takes to get a full-time software engineer position: coding bootcamps can quickly teach you how to code and build products you can put on your resume, and that will help you get noticed by recruiters and get you interviews. However, as any software engineer in the U.S. will tell you, the hardest part of successfully nailing the software engineer multi-stage interviewing process is passing the white-board questions. In my case, I didn’t even attend a coding bootcamp. Instead, I took online courses on <a href="https://www.udemy.com/course/the-complete-web-developer-zero-to-mastery/?LSNPUBID=CAEceHPefeY&amp;ranEAID=CAEceHPefeY&amp;ranMID=39197&amp;ranSiteID=CAEceHPefeY-VKQWvWmJnhVBuTMVS3v9xA">Udemy</a>.</p><p>During the interview process, you’ll be quizzed on at least 5–7 white board questions that consist of data structures and algorithm, and this is the part bootcamps do not teach you. To prepare for white-board questions, I’ve relied on books such as “<a href="https://amzn.to/38UfLSJ">Cracking the Coding Interview</a>”, Udemy courses such as <a href="https://www.udemy.com/course/master-the-coding-interview-data-structures-algorithms/?ranMID=39197&amp;ranEAID=CAEceHPefeY&amp;ranSiteID=CAEceHPefeY-ji23J251yPA8ArRDY2EL9g&amp;LSNPUBID=CAEceHPefeY">Master the Coding Interview: Data Structures + Algorithms</a>, and of course, LeetCode.</p><p>The best part about getting LeetCode Premium is that it allows you to see questions tagged by the company you’re interviewing for. For example, there are 925 questions on LeetCode people have reported as questions that came up during a Google interview. This way, if you are preparing for an upcoming interview at a specific company, you can filter the problems you want to see and focus on. Other benefits of getting the Premium version of LeetCode include being able to view official problem solutions provided by LeetCode, company-targeted mock interviews, faster response after submitting code solutions, etc.</p><p>It’s been more than a year since I became a Silicon Valley software engineer, and I have never regretted this decision. I enjoy the salary and benefits of being a software engineer as well as the flexibility around my working hours. In 2020 and throughout this ongoing pandemic, I felt fortunate that my job allows me to work 100% at home. Of course, as any software engineer will tell you, one of the toughest challenges that come with this role is that you need to devote to life-long learning, as technologies and coding languages are constantly evolving, and you need to be able to keep up with all the changes. This is a fast-paced, fast-changing industry, and the interview process, including the problems that pop up during white-board sessions are always evolving as well. To stay sharp and up-to-date, I definitely recommend investing in tools that help you learn more efficiently. For me, <a href="http://bit.ly/34UrjEe">LeetCode Premium</a> has been that tool.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=872d2f075612" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Determining Prime Numbers with JavaScript]]></title>
            <link>https://vanmarivan.medium.com/determining-prime-numbers-with-javascript-ac10deb1ffd9?source=rss-a2661ecfaec3------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac10deb1ffd9</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[leetcode]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[Van]]></dc:creator>
            <pubDate>Tue, 19 Mar 2019 02:58:12 GMT</pubDate>
            <atom:updated>2019-03-19T02:58:12.528Z</atom:updated>
            <content:encoded><![CDATA[<p>In this video below, I provide three solutions to the problem, “Count the number of prime numbers less than a non-negative number, n.”</p><p>Example:</p><p>Input: 10<br>Output: 4<br>Explanation: There are 4 prime numbers less than 10, they are 2, 3, 5, 7</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D2X_U9-reetU&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F2X_U9-reetU&amp;type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9dc48d230d57d4c238ee348138e57586/href">https://medium.com/media/9dc48d230d57d4c238ee348138e57586/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac10deb1ffd9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Recursion]]></title>
            <link>https://vanmarivan.medium.com/understanding-recursion-88c675c25710?source=rss-a2661ecfaec3------2</link>
            <guid isPermaLink="false">https://medium.com/p/88c675c25710</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Van]]></dc:creator>
            <pubDate>Tue, 12 Mar 2019 00:46:17 GMT</pubDate>
            <atom:updated>2019-04-05T23:05:17.802Z</atom:updated>
            <content:encoded><![CDATA[<p>Recursion is a difficult concept. Even for seasoned software engineers, recursion is not an easy problem-solving method to wrap your mind around. Nevertheless, recursion is a powerful tool that illustrates precisely why we need computer programming: while it’s hard for the human mind to process a recursive function, this task is neither easier nor harder to a computer than a simple for loop; to the computer, it is simply executing code.</p><p>So what is recursion? The definition of a recursive function is “a function that calls itself.” I like to think of recursion as a function nested within itself, kind of like a two-layer Russian doll.</p><p>Let’s take a look at a sample recursive function that calculates the factorial of a number. That is, given a number n, we want to know the value of n! So if n= 5, the function below will tell us the value of 5!, which is 5*4*3*2*1 = 120.</p><pre>function factorial( n ) {<br>  if (n &lt; 0){<br>    return undefined;<br>  } else if (n === 0) {<br>    return 1;<br>  } else {<br>    return n * factorial(n - 1);<br>  }<br>}</pre><p>You see how the factorial function above calls itself? Within the function <em>factorial</em> is another <em>factorial </em>function, precisely like a two-layer nesting doll.</p><p>But what exactly is the <em>factorial</em> function above doing here? There are two things happening:</p><ol><li>There’s an <em>if…else</em> statement. This is something you often see in recursion, where the <em>if</em> statement executes the base case, and the <em>else</em> statement executes all other cases. What is a base case? A base case is when certain conditions are met and the recursive algorithm can finally stop calling itself and begin to return values. In this example, the base case is when n===1. Only when n is 1 do we get a return value of 1. In all other cases, the <em>else</em> statement gets executed, and the <em>factorial</em> function gets called again.</li><li>OK. Now that we’ve gone over the <em>if</em> part, what exactly is happening within the <em>else</em> brackets? What does it mean that the function is calling itself? The best way to understand this is to find an example and try to work out the process the computer goes through, step by step. Let’s say we want to calculate 3! So the function takes n =3 and goes through the code line by line. Let’s try to think from the computer’s point of view for a while:</li></ol><pre>· Does n ===1? No, so go to <em>else</em> statement.</pre><pre>· Return 3 * factorial (3-1). OK, we need to return <br><strong>3 * factorial(2)</strong>,   but I don’t know what factorial(2) is. Luckily, the function has called itself, and we’re now going to calculate what factorial(2) equals. We’ll put <strong>3 * factorial(2)</strong> on hold until we know the value of factorial(2).</pre><pre>· Goes to outer loop to calculate factorial(2). Once again, does n===1? No, so go to <em>else</em> statement.</pre><pre>· Return 2 * factorial (2-1). OK, we need to return return <br>2 * factorial(1), but I don’t know what factorial(1) is. Luckily, the function has called itself, and we’re now going to calculate what factorial(1) equals. We’ll put <strong>2 * factorial(1)</strong> on hold until we know the value of factorial(1).</pre><pre>· Goes to outer loop to calculate factorial(1). Once again, does n===1? In this case, it does! So we can finally return a value of 1.</pre><pre>· But remember that we had to return <strong>3 * factorial(2)</strong>?<strong> </strong>Luckily, we now know that factorial(2) = 2 * factorial(1), and factorial(1) = 1, so we can return <br>   <strong>3 * factorial(2) </strong>= 3 <strong>* </strong>2 * factorial(1)= 3 * 2 * 1 = 6.</pre><p>Phew! That was a super long process just to calculate 3! Now imagine if you had to calculate 100891! Hopefully you now understand the mechanism behind recursion, and can also appreciate how computers help us with problems that are beyond the human brain’s capacity!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88c675c25710" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Mins. of Code: document.write()]]></title>
            <link>https://vanmarivan.medium.com/5-mins-of-code-document-write-9ca1a7366ab6?source=rss-a2661ecfaec3------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ca1a7366ab6</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Van]]></dc:creator>
            <pubDate>Wed, 13 Feb 2019 19:42:52 GMT</pubDate>
            <atom:updated>2019-03-11T23:27:58.991Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve decided to name my series 5 mins of code (per day).</p><p>I know a lot of people who toy with the idea of learning to code. The problem is, “learning to code” seems like such a daunting task — where does one even start? As a mother of a one-year-old, I know that sometimes having even five minutes to yourself is a luxury. With all the responsibilities we have in life, it’s not easy to say that you’re going to commit to something for five minutes a day.</p><p>But for those of you who have decided (like me, after so many years of just talking about it) to learn to code, I want to propose the idea that you can learn something new by just devoting 5 minutes to it each day (and if on some days you have more time, that’s great!)</p><p>Today I am going to talk about document.write(). It was easier to explain this through a video, so here it is:</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DTGYU6HwVCAU&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FTGYU6HwVCAU&amp;type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/aef0f0dc579a1e42b3bf06320ac94133/href">https://medium.com/media/aef0f0dc579a1e42b3bf06320ac94133/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ca1a7366ab6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is this number a power of 2?]]></title>
            <link>https://vanmarivan.medium.com/is-this-number-a-power-of-2-1efc04643382?source=rss-a2661ecfaec3------2</link>
            <guid isPermaLink="false">https://medium.com/p/1efc04643382</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Van]]></dc:creator>
            <pubDate>Wed, 13 Feb 2019 01:23:47 GMT</pubDate>
            <atom:updated>2019-03-11T23:25:51.232Z</atom:updated>
            <content:encoded><![CDATA[<p>I came across the question in my title while practicing <a href="https://leetcode.com/">Leet code</a>. I was to evaluate whether any given number N is a power of 2. So for example, 4 is a power of 2 because 2² = 4, and 16 is a power of 2 because 2⁴ = 16, but 7 is <em>not</em> a power of 2. I couldn’t think of an answer to this question, so I searched online.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*-t7dtq-Vr7C3aOl_goW03Q.png" /></figure><p>There are actually many ways to approach this problem of determining whether a number is a power of 2, but my favorite one is to “count the number of 1s.” When represented in binary form, any number which is a power of 2 should have exactly one “1” in its string of 0s and 1s.</p><p>Let me show you:</p><p>2⁰=1 (000001)</p><p>2¹=2 (000010)</p><p>2²=4 (000100)</p><p>2³=8 (001000)</p><p>2⁴=16 (010000)</p><p>On the other hand, any number that <em>isn’t </em>a power of 2 would have more than one “1” in its binary string. For example, 7 in binary form is 00000111 (that’s three “1s”).</p><p>Therefore, the steps to solving this coding problem in JavaScript would be:</p><ol><li>Covert the number N (N being the target number you want to evaluate) from decimal to binary using <strong>N.toString(2)</strong></li><li>If there is exactly one “1” in the binary form of N, then N is a power of 2. If there are no “1”s or more than one “1”, then N is NOT a power of 2.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1efc04643382" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>