<?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 Krish Charniya on Medium]]></title>
        <description><![CDATA[Stories by Krish Charniya on Medium]]></description>
        <link>https://medium.com/@krishcharniya?source=rss-01629be752c5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*f1G9K5HYk4h11mj0</url>
            <title>Stories by Krish Charniya on Medium</title>
            <link>https://medium.com/@krishcharniya?source=rss-01629be752c5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 01:57:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@krishcharniya/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[The 12-hour CDC interview journey]]></title>
            <link>https://medium.com/@krishcharniya/the-12-hour-cdc-interview-journey-f7df3abd255c?source=rss-01629be752c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7df3abd255c</guid>
            <dc:creator><![CDATA[Krish Charniya]]></dc:creator>
            <pubDate>Mon, 19 Jan 2026 16:58:22 GMT</pubDate>
            <atom:updated>2026-01-21T17:59:12.784Z</atom:updated>
            <content:encoded><![CDATA[<p><em>“Chaos isn’t a pit. Chaos is a ladder. Many who try to climb it fail and never get to try again. The fall breaks them. And some are given a chance to climb, but they refuse. They cling to the realm, or the gods, or love. Illusions.</em></p><p><em>Only the ladder is real. The climb is all there is.”</em></p><p><em>~Lord Petyr Baelish</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*v5l3TI93dT9T4Aml.jpeg" /></figure><p>Heya, I’m Krish Charniya, a 3rd-year undergraduate in the Department of Computer Science and Engineering at IIT Kharagpur, enrolled in its B.Tech. programme. I’ll be interning at Microsoft India as a Software Engineer Intern. This blog is about my preparation journey and aims to help the aspirants appearing through the on-campus CDC process for Software and Quant roles.</p><p>I hope this gives a realistic picture of what the journey looks like, the mistakes I made, and what I would recommend doing differently.</p><h3><strong>First Year</strong></h3><p>My first semester was the infamous chem sem, and surprisingly, we also had the <em>Programming and Data Structures</em> (PDS) course in the very first semester itself. In hindsight, that turned out to be a blessing because it gave me an early introduction to programming.</p><p>In my second semester, I was introduced to Competitive Programming. I gave my first-ever Codeforces contest and managed to solve just one question :P, since I already had some exposure to C from the PDS course, I decided to move to C++ and started learning STL. The physics-heavy semester didn’t leave me with a lot of free time. The summer after the first year mostly went by in vacations and chilling, without much productive preparation :)</p><h3><strong>Second Year</strong></h3><p>Things started getting serious in my third semester with courses like <em>Algorithms I</em> and <em>Discrete Structures</em>. These two courses played a massive role in building my problem-solving foundation. Despite it being the most loaded semester till that point, I somehow managed to stabilise my CGPA above 9.5. During these times, I tried different CP platforms, mainly focused on Codechef, Codeforces and AtCoder. I would highly recommend everyone to try AtCoder as well. The problems there are usually not very ad-hoc and focus more on core data structures.</p><blockquote>An “ad hoc problem” is a unique puzzle or challenge that doesn’t fit standard algorithmic categories, requiring specific, clever observations or custom logic rather than a pre-defined technique.</blockquote><p>By the fourth semester, things felt relatively chill for me since it mostly consisted of CSE core subjects (and I liked them). To this date, I cannot believe how I got dassi (10 SGPA) in that semester. By the end of the 2nd year, I had 9.7 CGPA, decent enough for most of the companies, and became expert on cf.</p><p><strong>Summers Before CDC</strong></p><p>This was the peak grinding phase. I had around 2.5 months. I devised a rough strategy to balance both Quant and SWE preparation. I started with SWE. On the advice of my seniors and mentor, I followed <em>Algozenith. </em>In those months, I gave multiple contests across multiple platforms, but mainly on cc cf atcoder. Other Resources I used —</p><ul><li><a href="https://cses.fi/problemset/">CSES Problem Set</a></li><li><a href="https://atcoder.jp/contests/dp/tasks">Tasks - Educational DP Contest</a></li><li><a href="https://www.hackerrank.com/goc-cdc-series-1">Join GOC-CDC Series #1 on HackerRank</a></li></ul><p>An essential collection of past problems from companies’ coding tests. (to get all contests, keep changing the number at the end of the URL)</p><p>I highly recommend solving AtCoder dp contest and goc cdc series, as it will often help during OAs. I also skimmed through some ques of <em>Interviewbit, </em>but they didn’t intrigue me much, so I only focused on more complex topics. Here’s a list of topics that you should know about—</p><ul><li>Bit Manipulation</li><li>Meet in the middle</li><li>Graphs</li><li>string and trie</li><li>Digit DP</li><li>Euler Tour</li><li>Binary Lifting</li><li>Tree DP</li><li>bridges, bridgetree, cutpoits, scc, dfsTree</li></ul><p>Some of the advanced topics aren’t things you’ll encounter in day-to-day contests or even in most company OAs, but I would still recommend covering at least this much. I strongly suggest doing these topics separately instead of relying only on contests.</p><p>Around June, I started the preparation for Quant roles. Here are some resources that I used or were recommended to me —</p><ul><li><em>50 Challenging Problems in Probability</em> by <em>Frederick Mosteller</em></li><li><em>Heard On The Street</em> by <em>Timothy Falcon</em></li><li><em>A Practical Guide To Quantitative Finance Interviews</em> by <em>Xinfeng Zhou</em></li><li><a href="https://brainstellar.com/"><em>Brainstellar</em></a> Puzzles</li></ul><p>There are many other books, too, but I feel these are the essentials. Some of the problems are repeated across these books, which actually helps reinforce concepts. However, while preparing for Quant, I slowly realised that I was not as passionate about it as I initially thought. I found myself more inclined towards systems and SWE roles. So I consciously decided not to overburden myself with Quant prep and shifted my focus more towards Software roles. During the quant prep, I made sure to give daily virtual contests from the cf archive so I wouldn’t lose touch with problem-solving.</p><p>For OOPS and SWE parts, I chose to stick with</p><ul><li><em>Software Engineering</em> course (<em>CS20202</em>)</li><li><a href="https://docs.google.com/document/d/1VaV0BdjlywcUxge4blTeFYcd3xWeWC69q1PuGGvGz24/edit?usp=sharing">OOPS notes</a> written by <a href="https://www.linkedin.com/in/shivansh-shukla-1931b7219/">Shivansh Shukla</a>,</li><li>Points mentioned in the <a href="https://docs.google.com/document/d/1T8FLq7idiK7ezWqh5AAF8OzdhvfhrEfQWJnCrF6E9Lg/edit?usp=sharing">CSE GUIDE</a>, written by <a href="https://www.linkedin.com/in/suhas-jain/">Suhas Jain</a> and <a href="https://www.linkedin.com/in/ashutoshaks/">Ashutosh Kumar Singh</a>.</li></ul><p>I didn’t focus much on <a href="https://learncpp.com/">learncpp.com</a> and <a href="https://www.interviewbit.com/">Interviewbit</a>, and you’ll later realise why this ended up costing me the Quadeye interview.</p><p>Around July, the infamous CV portal was up. For those who don’t know, editing and formatting the CV on the portal is honestly a pain, and sometimes your data can even disappear from the server abruptly. Thankfully, there are ways to keep your data backed up. Some helpful resources for CV building were:</p><ul><li><a href="https://www.figma.com/proto/MyI1jSTnkZlgPQxTw7ioA1/CV-on-ERP?page-id=0%3A1&amp;node-id=1-3&amp;starting-point-node-id=1%3A3&amp;scaling=scale-down">A Simple CV Making Guide</a> by <a href="https://www.linkedin.com/in/tkartik/">Kartik Tyagi</a>.</li><li><a href="https://chromewebstore.google.com/detail/mpiodijhokgodhhofbcjdecpffjipkle?utm_source=item-share-cb">SingleFile Browser Extension</a> — for backing up data</li></ul><p>By the CV deadline, I had the following ratings.</p><ul><li>Codeforces: 1712</li><li>Codechef : 2011</li><li>AtCoder: 1209</li></ul><p>Here’s a <a href="https://drive.google.com/file/d/1RBDhFtDEMPqecKGj2yvSz_PDTczURtCZ/view?usp=sharing">link</a> to my Final CV.</p><h3><strong>TESTS</strong></h3><p>OAs started around mid-July. Some were conducted online, while a few happened offline. Certain companies such as Quadeye, Glean, and Databricks shortlist candidates directly based on CVs. I’ll try to share insights into the tests I appeared for and what they were generally like.</p><p><strong>Optiver (SWE)</strong></p><p>The role test comprised two rounds, one coding question based on graph traversal and clever use of data structures(STL), more like an implementation problem. We were given around 75 minutes to solve it. The second round had programming and system-level understanding. Since I am a B.Tech student, I chose to skip questions related to Networks and OS. The C++ and general programming questions, however, felt fairly straightforward.</p><p><strong>Optiver (Quant)</strong></p><p>The Quant role also had two tests. The first one was a number logic test, where we had to identify reasoning patterns in number sequences and fill in the missing values. The second test was <strong>Beat The Odds</strong>, which assessed one’s understanding of probability theory. Each question had a strict time limit (around 40 seconds per question, iirc), and the entire assessment lasted about 45 minutes. Time management was crucial here.</p><p><strong>Rubrik</strong></p><p>Rubrik’s OA consisted of four medium-to-hard coding questions. I was able to fully solve two of them. In the third question, I went with a brute-force approach and managed to pass 18ish out of 27 test cases. Later, I found out that the fourth question was directly taken from Codeforces, with a rating of around 2400.</p><p><strong>Goldman Sachs / Morgan Stanley / JPMC:</strong> These tests also involved MCQs on OOPs and English. The tests had two easy-medium CP problems. The JPMC and GS tests also involved good numerical problems in Probability and Statistics. One of these tests also involved speaking in English and reading comprehension.</p><p><strong>Graviton</strong></p><p>The Graviton SWE test was a one-hour pen-and-paper exam consisting of five questions. Two of them were easy DSA problems where a rough outline of the solution, along with pseudocode, was expected. The remaining questions were based on <em>Computer Organization and Architecture</em>. I skipped those as being B.Tech student, and later found out that Dual Degree students had skipped them as well xD. The Quant test mainly had probability questions along with a few olympiad-level problems. As far as I know, no one was able to solve all of them completely.</p><p><strong>Trexquant</strong></p><p>There was an ML-based challenge called “<a href="https://www.trexsim.com/trexsim/hangman/register">Hangman</a>” for about two weeks. Interestingly, the company has been asking the same problem for the last 4–5 years. Since I was not interested in ML roles, I didn’t really bother attempting the challenge.</p><p><strong>D.E.SHAW</strong></p><p>The D. E. Shaw OA consisted of three coding questions. The first one was quite easy. The second was inspired by the <a href="https://cses.fi/problemset/task/2216">Collecting Numbers</a>, but O(n²) was allowed. The third question was directly taken from Codeforces and had a rating of around 2400.</p><p><strong>Google</strong></p><p>Two questions were given from a pool of around 6–7 questions. For me, the first one was based on number theory combined with BFS, while the second involved recursion with some greedy logic. We were given one hour to solve both. I was able to solve the second question only. This was a unique test because the platform was HackerEarth, and only 4–5 test cases were visible. The remaining test cases were hidden, which was different from the usual HackerRank-style format.</p><p><strong>Microsoft</strong></p><p>Two questions were asked. The first one involved binary search, and the second required coordinate compression along with BFS traversal. I managed to solve both questions in about 15 minutes, although the total duration of the test was one hour.</p><p><strong>NK Securities</strong></p><p>They had a common test for both Quant and Software roles. Two CP questions were asked. The first one was quite easy and STL-based. The second problem involved trees, binary search, and greedy algorithms. However, most people (including me) ended up using the wrong greedy logic in binary search and could only pass around 70% of the test cases. One important takeaway here is that you should always try to code <em>something — </em>even a brute-force or greedy solution, instead of leaving a question blank. Partial solutions do carry weight. There were also MCQs in the SDE test.</p><p><strong>APT Portfolio (Software)</strong></p><p>There was only one question, which was a design-heavy problem called the ‘<a href="https://en.wikipedia.org/wiki/Brainfuck"><em>Brainf*ck Problem</em></a>’. The specifications of the interpreter were given, and we had to make a robust interpreter exhaustively. Interestingly, this same problem has been asked by the company for the last 3–4 years.</p><p><strong>Quantbox Research</strong></p><p>Three medium-to-hard CP-style questions were given with only 45 minutes to solve them all. This was easily one of the hardest tests. I couldn’t solve any of the questions within the time limit. Later, MCQs and fill-in-the-blanks based on probability were also asked.</p><p><strong>Alphagrep</strong></p><p>This was a common test for both SDE and Quant roles. Four medium-level questions were asked, and 2.5 hours were given to solve them.</p><p><strong>Uber</strong></p><p>The Uber OA had 3–4 CP-style questions. I was able to solve around 2.5 questions. The problems were quite interesting, and we were given 1.5 hours.</p><p><strong>Stripe</strong></p><p>This was one of the most unique tests. It was purely implementation-based and required clever use of STL. There was one main problem with four subtasks. Each subtask had roughly the same number of test cases, and the difficulty was increased progressively. One needed to pass at least 10 out of 13 test cases to get shortlisted.</p><p>I was shortlisted for several Day 0 companies, including:</p><blockquote>Optiver, Quadeye, NK Securities (Quant), Rubrik, Databricks, Graviton (SWE), D. E. Shaw, Microsoft, and Google.</blockquote><h3><strong>Interviews:</strong></h3><p><strong>Optiver</strong></p><p>The first round was a GD round, which happened around 4–5 days before Day 0. We were given a puzzle in a group of five people. We had roughly two minutes to work together and come up with an answer. After that, one person had to report the answer and explain the methodology used. Several extensions were added to this round. In the last extension, we were required to answer individually. Since I was hoping for more systems and SDE-oriented questions, I was not very well prepared for the kind of questions they asked. I didn’t perform very well in that round, and hence I was not selected further.</p><p><strong>Quadeye</strong></p><p>I had already finished dinner when I got a call around 7 PM saying that I had multiple interviews scheduled starting at 8 PM. I rushed to Nalanda with my friends. The first interview was a systems round and lasted for about an hour. It started with rapid-fire C++ questions — move semantics, some compiler-dependent program behaviours, and other low-level concepts. Towards the end of Round 1, I was asked a DSA question based on linked lists. Unfortunately, I had taken linked lists a bit too lightly and had skipped InterviewBit, which cost me the interview. I wasn’t able to solve the question properly. I was still called for Round 2, which happened immediately in the same Google Meet call. This round went deeper into move semantics. There were a few questions that I couldn’t answer, and at that point, I knew I had already messed up the interview. Towards the end, I was asked a game theory puzzle. I knew the approach but made a calculation mistake under pressure. The interviewer understood where I went wrong and seemed satisfied with my reasoning. I wasn’t called for the next round.</p><p><strong>Databricks</strong></p><p>Soon after the Quadeye interview, I rushed to the Graviton room, but there was a huge queue. The POC informed me that I should attend another company’s interview instead. So I went for Databricks — one of my top priority companies. In Round 1, I was given a graph problem based on topological sorting. I explained my approach and was then asked to code it. I wrote the solution, but for some reason, I told the interviewer that I thought something was wrong with my code. In hindsight, I think the interviewer knew the solution was correct and asked me to give a counterexample where my code would fail. That’s when I realised I had actually done something smart that confused me myself T-T. The interviewer ran my code on a few test cases, and it passed. Later, I was asked an extension of the problem. Since time was running out, I was asked to explain my approach instead of coding it. It was a DP-based solution, and the interviewer seemed satisfied. I was called for Round 2, and the interviewer was a KGP alum. I was asked a problem based on finding the median, followed by an extension. The interviewer guided me in the right direction, but I ran into implementation issues. My code passed the sample test case but failed on the custom test case provided by the interviewer, since we had no time. The round ended here.</p><blockquote>“When you play the game of thrones, you win or you die.” — <strong>Cersei Lannister</strong></blockquote><p><strong>Graviton</strong></p><p>By the time I reached Graviton, it was already around 12 AM, and I was completely exhausted. I was already feeling that luck wasn’t on my side that day, but without overthinking, I went ahead with the interview. Since Graviton had started interviews from 8 PM and most students were already done, I ended up being one of the last candidates. The interviewer first asked me about some OOPS concepts, and we had a fairly in-depth discussion around them. Later, I was asked a question related to cache. At that time, I didn’t realise that it was based on a standard algorithm taught in the <em>Computer Architecture &amp; Organization</em> course. I took some time to understand the problem and tried to keep the conversation two-way so that the interviewer could guide me if needed. After some discussion around my CV, the round ended.</p><p><strong>NK Securities (Quant)</strong></p><p>This was one of the most random shortlists I had on Day 0. Very few students were shortlisted for the Quant role at NK Securities. Although I wasn’t very interested in Quant roles, I still gave it a fair attempt. The interviewer asked some very interesting questions based on mathematics, probability, and combinations. I tried solving them, but eventually wasn’t able to crack them fully.</p><p><strong>Rubrik</strong></p><p>Rubrik is known for its challenging interviews and CP-style problems. This interview happened around 3 AM and was conducted offline. The interviewer asked me a very interesting variation of the LIS problem. I understood the question clearly. I was given around 30 minutes, and they expected the most efficient approach, along with pseudocode on paper. The interviewer was extremely kind and kept helping me with hints. However, since I had already pushed myself too much in the earlier interviews, I gave up on the problem after about 10 minutes. The interviewer understood my condition and ended the interview. But just as I was about to leave the room, the interviewer stopped me — and I got Rubrik merch, yay :)</p><p><strong>D.E. shaw</strong></p><p>After back-to-back interviews from five companies with no proper breaks in between, my next interview was with D.E. Shaw. The queue was long, so I finally got a break of around 30–60 minutes. I ate pizza that my friends had ordered to regain some energy. This was an offline interview with two interviewers. The first interviewer asked me to design a constructive algorithm. I was expected to clarify edge cases, ask questions, and not assume anything on my own. They wanted me to actively drive the solution by asking for more details. The second interviewer asked a very simple greedy DSA problem. However, I ended up overthinking it and proposed a much more complex solution. After a hint, I was able to solve it, but the interviewer was clearly dissatisfied with my performance. Towards the end, I was also asked some OOPS concepts, and then the round concluded, with no confirmation of further rounds.</p><p><strong>Microsoft</strong></p><p>By the time my Microsoft interview started, it was already around 5 AM, and I could literally see the sunlight in the sky. Microsoft had started taking interviews around 2 AM, so I ended up being one of the last students to be interviewed. In Round 1, I was asked a graph-based problem. I explained my approach, after which the interviewer asked whether we really needed so many elements in the solution. That led me to optimise my approach, and then I coded it up. The interviewer seemed very satisfied with the solution. Just after Round 1, I was called for Round 2. This round was taken by a senior manager at Microsoft and was a mix of HR and technical discussion. We had a light conversation about my CV, followed by technical questions based on my projects. The round was heavily project-focused. The interview ended on a very positive note, and at that point, I had a strong feeling that I might get the offer.</p><p>Just as I was about to head for my Google interview, I received a call from PlaceComm around 7 AM saying that I had received the offer from Microsoft and could not sit for any further companies.</p><p>After almost 12 hours of continuous interviews, I finally felt relieved!</p><h3><strong>Important points:</strong></h3><ul><li>CDC is a highly random, luck-based process. While luck was on my side when it came to getting shortlisted for most Day 0 companies, it wasn’t really my day when it came to interviews. Don’t get disheartened too much if things don’t go your way.</li><li>Don’t ignore the OOPS part, especially if you’re aiming for Software roles. The slides from the KGP course are exhaustive, but still not fully sufficient for CDC. Make sure you revise and practise from multiple sources, as mentioned in the blog.</li><li>Don’t ignore C++ core concepts if you’re targeting systems roles. I didn’t focus much on it, and that was a mistake. Try to think about how abnormal or edge-case code behaves in different scenarios.</li><li>Don’t let rejections weigh on you too much. Stay positive and calm during interviews, and try not to let the result of one interview affect your performance in the next one.</li><li>Try to maximise your CGPA as much as you can. It plays a very important role in shortlisting.</li><li>Have friends alongside you during the process. Having people to talk to, rant to, and share the journey with makes a huge difference.</li></ul><p><strong>Wrapping Up</strong></p><p>A huge shoutout and heartfelt thank you to my friends — <em>Shatakshi, Damiya, and Shikhar</em> — who stayed with me throughout the entire interview process and literally fed me between interviews. Special thanks to <em>Aadit Jha</em>, who regularly checked on me and supported me throughout the process. I can never thank my parents and my brother enough for supporting me throughout my life and always standing by my decisions. I’d also like to thank my girlfriend for patiently listening to all my rants and being by my side every single day.</p><p>If you have any questions, feel free to reach out to me at <a href="/service/mailto:krishcharniya007@gmail.com">krishcharniya007@gmail.com</a>.</p><p>All the best for your intern season!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7df3abd255c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>