<?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 Arup Saha on Medium]]></title>
        <description><![CDATA[Stories by Arup Saha on Medium]]></description>
        <link>https://medium.com/@auroop?source=rss-deaa966caa14------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*axUifi5ljc5e7egW.jpeg</url>
            <title>Stories by Arup Saha on Medium</title>
            <link>https://medium.com/@auroop?source=rss-deaa966caa14------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:04:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@auroop/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 did I ace my algorithm and data structure, again!]]></title>
            <link>https://medium.com/@auroop/how-did-i-ace-my-algorithm-and-data-structure-again-55abba2ee808?source=rss-deaa966caa14------2</link>
            <guid isPermaLink="false">https://medium.com/p/55abba2ee808</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Arup Saha]]></dc:creator>
            <pubDate>Sun, 18 Jun 2017 05:39:30 GMT</pubDate>
            <atom:updated>2017-06-18T07:25:01.434Z</atom:updated>
            <content:encoded><![CDATA[<p>meta: this post is not for friends and acquaintances following me. It is more of a personal journey of learning Algorithms and Data Structure, the bedrock of Software Engineering and Programming.</p><p>It was December 2015 when I finally jumped on the bandwagon of ‘starting up’. After working extensively with start-ups for the last 4 years, and making friends who would become successful entrepreneurs, I thought I know how a startup works. I was fully confident of things which make a startup work, and things which make it fail. So there I was, with the next dream unicorn in my hands!<br>Unfortunately, it didn’t even take 6 months to make me realise that I am not built of that stuff. The startup idea didn’t incite a single investor. And it bombed!<br>Come March 2016, when we were wrapping up everything, I decided that I won’t work for startups any more. In all these years, I worked in startups, I thought I was preparing myself for a goal — To have my own company. Since that goal existed no more, it didn’t make much sense to keep working for startups. I decided that I will get myself into top companies in tech. Like Apple, Google, MS etc., and consequently lined up my resume. <br>Microsoft was the first to respond. And it didn’t take much to realise that all my algorithms knowledge has become next to none, after all, 6 years had passed after college and I didn’t pick a single algo/ds book in all these years. Also thanks to the startups where shipping code was priority, not quality. Any way, Google was next in line. This time the recruiter was frank and asked me how do I rate myself in DS/Algo out of 4, my straight answer was 1.5. She asked if I can be a 3.5 in the next one month and I accepted the challenge. My first interview was scheduled in some 25 days. I had nearly a month to brush up everything. So where did I start —</p><ol><li><a href="http://www.geeksforgeeks.org/data-structures/">GeeksForGeeks</a> data structures. Here I started revising my DS. In a normal project, you generally don’t use anything more than an <em>Array</em> or a <em>Hash Map</em>. At most, the <em>Stack. </em>So I started brushing up my <em>Linked List, Stacks, Queues, Trees, Heaps </em>and<em> Graphs</em> from here. G4G is a great resource if you are revising what you already know. They contain a little theory and lots of solved problems — exactly what you need to prepare for interviews.</li><li><a href="http://interviewcake.com/">Interview Cake</a> for random puzzle and trick questions. Since most of the DS/Algo questions asked are generally out of the book, and they don’t depend on a fixed algo you learnt, I found this site to be really helpful in learning how to approach those problems.</li><li><a href="https://www.amazon.in/Data-Structures-Algorithms-Made-Easy-ebook/dp/B01N4OA309?_encoding=UTF8&amp;btkr=1&amp;portal-device-attributes=desktop&amp;ref_=dp-kindle-redirect">Data Structures and Algorithms Made Easy by Narsimha Karumanchi</a>. (<strong>NO, you don’t want to read this.) </strong>I had a habit of picking up the thinnest book whenever I wanted to learn something. So that I can get an idea of the topics. My learning pattern is that I have to read something 2–3 times before it becomes conjoined with my thinking process. After that, I pick up something nice in that subject. Coming back to this book, since time was already of essence here, I hoped to finish more than a couple of readings of Made Easy. But it was a blunder! Most of the explanations made were erroneous, a few key topics missing and a really bad authoring. I became more confused in some topics, thanks to Mr. Karumanchi. But in a way, it helped because I would later look up the topics in different books and sites and get a better understanding. Which also made me realise that one month is too much less time to complete everything.</li></ol><p>Needless to say on the D-Day, I was very ill prepared. I just knew the basic DS/Algo. And even if I knew the algorithms, most of the time, I couldn’t apply them to a question. I cleared couple of rounds of Google before being kicked out. Yet this process made it clear in my mind of what I need to know if I want to crack a DS/Algo based interview.</p><p>Meanwhile, even if the preparation was not good enough for Google, I was a lot better than what I was 2 months back. And I did crack a few coding interviews and took up a job in a reputed company. But I promised myself I would give Google another shot, this time, better prepared. Afterall, when I have the realisation that I am going to work in company, why not be it the best in the globe?</p><p>I gave myself a time period of one year to be better. I drew up a chart with some target points to achieve in the year. Some of them are —</p><ol><li>Get a good roundup of Data Structures. Forget all I know (or I pretend to know), start from scratch and relearn everything.</li><li>Same with algorithms, and I need to practice the application of these algos.</li></ol><p>Now for the first goal, I took to <a href="https://www.coursera.org/">coursera</a> courses. I intended to learn from the best of the teachers. So I zeroed on 2 courses-</p><p>First, being <a href="https://www.coursera.org/learn/algorithms-part1">Algorithms Part-1</a> and <a href="https://www.coursera.org/learn/algorithms-part2">Part-2</a> by <a href="https://www.coursera.org/instructor/~250165">Robert Sedgewick</a>. Reason for this was I struggled in <em>Tree. </em>And Prof. Sedgewick was the inventor of <em>Red-Black Tree </em>himself. So I looked to the master to teach me the skills. This course gives a solid understanding of Data Structures.</p><p>Second, and the most important was by <a href="https://www.coursera.org/specializations/algorithms">Prof. Tim Roughgarden of Stanford University</a>. This is being one of the most sought after courses in Algorithms. In this course, I truly treated myself as a jedi and made Prof. Roughgarden as my Yoda. And it paid back immensely. I can ace almost all the algorithms a text book offers, thanks to Prof. Tim. The detailed info and understanding provided by him is truly unseconded. I can now apply Toplogical Sorts, Floyyd-Warshall, Min-Cut-Max-Flow etc. effortlessly. <em>Thanks Prof. Tim.</em></p><p>In the meanwhile, I also started reading the holy book <a href="https://en.wikipedia.org/wiki/Introduction_to_Algorithms">Introduction to Algorithms</a> (CLRS) like a novel. I read a few pages whenever I got time. I even started reading other <a href="https://github.com/aforarup/interview/tree/master/Data%20Structures%20and%20Algorithm/Algorithm%20Books">text-books</a> on the same topic. Each one offered something new.</p><p>But the best learning i got, which also helped attain my target — 2, was from taking part in competitive programming. I started participating regularly in <a href="https://www.hackerrank.com/dashboard">hackerrank</a>. I liked hackerrank because it provided different tracks for Algorithms and Data Structures. So when you finish learning a specific algo or DS, you can go to HackerRank and do a few questions regarding that. The monthly competitions are also a great place to improve yourself, and provides a forum to discuss problems and approach. I became so obsessed with hackerrank that I actually finished up with a gold in a competition!</p><p>I also started participating in other sites like Code-Chef, LeetCode, TopCoder etc. The TopCoder tutorials on algos are good too. They cover up some geometric and combinatorial algos as well which are not provided in a text book.</p><p>To sum up, it’s been a great year, learning and improving myself. But I am not yet close to the goal I set for myself, that includes</p><ol><li>winning one Coding Competition (1st rank)</li><li>Cracking a Google interview</li><li>Be the best version of what I know of myself (technically, physically as well as a person).</li></ol><p>Hope I get there soon!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55abba2ee808" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>